Character encoding using LC server on on-rev
selander at tkf.att.ne.jp
Fri Nov 22 09:26:59 EST 2013
This falls into the category of answering your own question, but
I decided to post the answer just in case an archive search by
someone with the same problem brings them here.
For some reason the normal charset command in the HTML <head>
does not work in a .irev or .lc page. But if you put this at the
top of your page before anything else is output, your page
encoding is properly set:
put header "Content-Type: text/html; charset=shift-jis"
Have tested with shift-jis and utf-8 and both work fine.
On 11/21/13 11:14 PM, Tim Selander wrote:
> Thanks, Neil.
> A few hours after my post, when no one hear chimed in on the
> matter, I did decide to contact on-rev support to see if they
> could help, since we decided it was embarrassing to have users
> having browser text encoding problems on the couple of pages we
> use LC coding with.
> David Williams got right back to me and we're working on it
> Tim Selander
> On 11/21/13 8:06 PM, Neil Roger wrote:
>> Hi Tim,
>> If this has only recently started to happen please contact our
>> on-rev support team who should be able to assist further-
>> Kind Regards,
>> Neil Roger
>> RunRev Support Team ~ http://www.runrev.com
>> On 21/11/2013 01:34, Tim Selander wrote:
>>> My Japanese .irev web pages are not loading with the right
>>> encoding anymore. I'm on the server pancake.
>>> My html header has this:
>>> <meta http-equiv="Content-type" content="text/html;
>>> There are no other charset commands anywhere in the page. But
>>> browsers are displaying the pages with Western ISO-8859-1.
>>> PHP has a header function that lets you set the charset; does LC?
>>> Tim Selander
>>> Tokyo, Japan
>>> 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