UTF8 on LC server
alex at tweedly.net
Thu May 31 20:33:20 EDT 2018
On 01/06/2018 01:17, Mike Bonner via use-livecode wrote:
> on-rev host is 7.0.1 you can get it with version()
Hmmm - I get 7.1.0 (on sage).
And that might just be the problem with Unicode handling .... I think it
improved in LC v 8 upwards, but that's an area I know nothing about.
You can, I believe, ask on-rev support to upgrade you to a modern
version for each domain (or install your own copy of LC Server.
I've been tempted to submit an on-rev *bug* report that they are still
using an obsolete, no-longer-supported version of LC Server. I really
don't understand why they don't upgrade the default to at least 8.x
STABLE. Perhaps preferably 9.x STABLE - if they really believe 9.x has a
> On Thu, May 31, 2018 at 6:14 PM, Tim Selander via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>> Hi Kee and Alex,
>> The original documents I'm working with are UTF8, so that's that I've been
>> using. So converting them to UTF16 is recommended? I'll try that.
>> Alex, desktop is version 8 something, and the server is the one installed
>> on the on-rev host; can't remember what the key in $_Server for than info
>> is, and Googling failed me this time...
>> Tim Selander
>> On 2018/06/01 8:55, kee nethery via use-livecode wrote:
>>> I’m assuming you are using “unicode” (aka UTF-16) and not UTF8 to do all
>>> your transforming of the data?
>>> On May 31, 2018, at 4:46 PM, Tim Selander via use-livecode <
>>>> use-livecode at lists.runrev.com> wrote:
>>>> Thanks, Kee.
>>>> Actually, I had found the reference to codepoint in the dictionary and
>>>> tried it. But it seems to work the same as character -- breaking kanji. My
>>>> test code is "put codepoint 500 to 550 of variable1" and the webpage shows:
>>>> �。こうして夕があり、朝があった。� The beginning and ending kanji got split in half.
>>>> Identical results to "put char 500 to 550."
>>>> Tim Selander
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode