Charset problems with .lc web page
Tim Selander
selander at tkf.att.ne.jp
Thu Dec 24 08:28:08 EST 2015
Hi Lyn,
Thanks for the tip.
But I tried it, and it didn't solve the problem with .lc & <?lc
?>. However, without fail, using .irev as the filename extension
and <?rev ?> tags in the web page show utf8 Japanese correctly
-- so I am content to use those. Problem solved, as far as I'm
concerned.
Thanks!
Tim Selander
Tokyo, Japan
On 12/24/15, 20:18, Lyn Teyla wrote:
> Lyn Teyla wrote:
>
>> Try inserting the following 3 lines right at the top of your .lc script, leaving everything else untouched:
>>
>> <?lc
>> put header "Content-Type: text/html; charset=utf-8"
>> ?>
>
> There was a slight typo (missed the quotes); try this at the top of the script:
>
> <?lc
> put header "Content-Type: text/html; charset=" & quote & "utf-8" & quote
> ?>
>
>
> Lyn :)
>
>
>
> _______________________________________________
> 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