Page 3 of 3

Re: Text Problems over Socket Connection

Posted: Mon Sep 15, 2014 10:32 am
by visionmill
So it seems like Livecode uses UTF-16 as its basic format. This is what I had to use to get the function to work properly.

Code: Select all

function getUTF8fromUTF16 theText 
   return unidecode(uniencode(theText,"UTF16"),"UTF8")  
   end getUTF8fromUTF16