Text encoding.

Alex Tweedly alex at tweedly.net
Fri Sep 3 08:38:34 EDT 2021


On 03/09/2021 11:07, David V Glasgow via use-livecode wrote:

> Alex states that put textEncode(tWHoleText, "UTF8") into tWholeText speeds replace up, but David B says LC internal format is UTF16.  Doesn’t the 8 vs 16 difference matter?  Or matters less than other encodings?

I would regard that timing comparison with much suspicion. I was 
textEncoding() it inappropriately - I had just read it in from a file, 
so I *should* have been textDecoding() it. Therefore it is unclear 
whether the times I was seeing then are meaningful.

Alex.





More information about the use-livecode mailing list