UTF8 on LC server
Warren Samples
warren at warrensweb.us
Thu May 31 17:43:49 EDT 2018
On 05/31/2018 06:43 AM, Tim Selander via use-livecode wrote:
> Is there any way to get LC Server to handle double-byte characters the
> same way LC desktop does?
>
> Tim Selander
> Tokyo, Japan
LC Server serves pages with a default "Content-Type" header of:
Content-Type: text/html; charset=iso-8859-1
That would prevent the display of Japanese characters.
Try putting:
put header "Content-Type: text/html; charset=utf-8"
at the top of your lc pages after the <?lc and before any other content.
See if this solves your problem.
Good luck,
Warren
More information about the use-livecode
mailing list