encoding woes!?

Klaus major-k klaus at major-k.de
Tue Oct 29 18:04:52 EDT 2019


Hello Hermann,

> Am 29.10.2019 um 23:01 schrieb hh via use-livecode <use-livecode at lists.runrev.com>:
> 
>>> Also LiveCode uses a BOM. If there is no UTF-8 BOM it uses 
>>> Mac OS Roman. That is what you see when you type into msg 
>>> put textEncode(the htmltext of widget "Browser", "UTF-8"). 
>> 
>> Which shows exactly the same (with umlauts and stuff) as simply:
>> put the htmltext of widget "Browser" 
> I don't mean the htmltext of the widget that has the file as url.
> Set the htmltext of the widget by script to
> <html><head><meta charset="utf-8"></head><body><p>
> äöüß
> </p></body></html>
> Then do
> put textencode(the htmltext of widget browser,"UTF-8")
> I get then here the MacOS Roman encoding:
> <html><head><meta charset="utf-8"></head><body><p>
> üā
> </p></body></html>
> 
> That describes (somehow) the problem you had and others will have.

thank you, will try to digest this. :-)

At least I got the stack working as I need it!


Best

Klaus

--
Klaus Major
https://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list