Put URL into variable and textEncoding

hh hh at hyperhh.de
Mon Feb 12 09:55:36 EST 2018


If you know it *is* utf-8 then (in LC 8/9) it "just works" whether put into
a variable or directly into a field.
But you have to be aware when working with the variable that you have to
use codepoint for conversions for "foreign chars" (e.g. using diacritics).

> Malte P-B. wrote:
> Hi, I am a little bit puzzled at the moment. When I am using
> Put URL "http://www.some/service/endpoint <http://www.some/service/endpoint>“ into tVariable
> and the content is UTF-8 encoded I vaguely recall I had to textDecode it to display it
> correctly in a field afterwards. Did this change?
> I am not sure if the web service I use changed, or if it is the latest live code stable
> version…
> Any pointers much appreciated.
> Cheers,
> Malte




More information about the Use-livecode mailing list