Charset problems with .lc web page

Tim Selander selander at tkf.att.ne.jp
Tue Jan 5 09:08:15 EST 2016


Kojima-san,

Thank you! Your instructions worked perfectly.

For the others:
1) <?lc set the outputTextEncoding to "utf-8" ?>  --> must be the 
first line of the .lc
2) set the outputTextEncoding to native   -->  must be the first 
line of the first <?lc  ?> script in the file

If you put "set the outputTextEncoding to native" later in the 
script, UTF-8 above that line will be garbled; after that line it 
will show properly.

Very interesting.

Tim Selander
Tokyo, Japan



On 1/4/16, 21:06, Kenji Kojima wrote:
> Tim,
>
>>> The .irev file correctly shows Japanese UTF8, the .lc file does not.
> I wrote about it in Japanese.
> http://kenjikojima.com/basic_iRev/main/rev11.html
>
> http://kenjikojima.com/basic_iRev/
>
> --
> Kenji Kojima / 小島健治
> http://www.kenjikojima.com/
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode






More information about the Use-livecode mailing list