On Tue, Mar 19, 2013 at 3:08 PM, James Little <littlejam...@mac.com> wrote:

>
> Trevor: Your suggestion worked! I'm very happy. "put uniencode(tVar,
> "utf8") into theUTF16Text" was the key.
>

Good. Unicode is so much fun :-)

One other thing to be aware of - when using uniencode and unidecode the
byte order in the UTF16 text is dependent on the processor your application
is running on. See the docs for uniencode. What this means is that if you
have UTF-16 text from some other source then you have to make sure that it
uses the same byte order when you do comparisons. I find it easier to do
comparisons on UTF-8 text when working with 3rd party data.

-- 
Trevor DeVore
Blue Mango Learning Systems
www.clarify-it.com    -    www.screensteps.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to