Charset problems with .lc web page

Tim Selander selander at tkf.att.ne.jp
Thu Dec 24 03:33:24 EST 2015


Hi Alex,

Thanks.

I added
<?lc put $_SERVER["http://www.pba.on-rev.com/5_today.lc"] & "<br>" & CR ?>

and also
<?lc put $_SERVER["5_today.lc"] & "<br>" & CR ?>

in the script but it didn't return any info.

I'm using On-Rev, the server is sage -- so whatever installs they have 
is what I'm using. I do find it curious that the older .irev works while 
.lc does not!

Tim


On 15/12/24 17:18, Alex Tweedly wrote:
> Hi Tim,
>
> I'm afraid I know little or nothing about charsets, so I can't 
> directly help :-)
>
> The difference between .irev and .lc is which version of the server 
> engine they are running - and obviously that depends on your server 
> setup. So, to help with answering this, we (might) need to know which 
> versions are being used on your server.
>
> You could add
>    put $_SERVER[" SCRIPT_FILENAME"] & "<br>" & CR
>
> Presumably it will be a pre-Unicode and a post-Unicode version - but 
> knowing which ones might help someone answer your question.
>
> -- Alex.
>
>
> On 24/12/2015 07:55, Tim Selander wrote:
>> Dear list,
>>
>> I'm having trouble making a .lc web pages correctly show the charset.
>>
>> I have two test files:
>> http://www.pba.on-rev.com/5_today.lc
>> http://www.pba.on-rev.com/5_today.irev
>>
>> They are identical except for the .lc/.irev file extensions, and also 
>> the <?lc ?> and <?rev ?> tags in the html.
>>
>> The .irev file correctly shows Japanese UTF8, the .lc file does not.
>>
>> Anyone else having problems with this? Can .lc files not handle 
>> charset correctly?
>>
>> Thanks,
>>
>> 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:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> 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