mobileControl and TextEncode / TextDecode

Scott Morrow scott at
Sun Jul 12 07:17:32 EDT 2015

I’m wondering if there is a a “correct” or best practice for getting unicode in and out of an iOS UITextField under LiveCode 7. Specifically, is TextEncode and TextDecode necessary or advisable?

So far, this seems to work for me:

 put mobileControlGet (sEmailFieldID, "unicodeText") into fld “Email"

But is there some situation where this might be more advisable as a general solution:

 put TextDecode(mobileControlGet (sEmailFieldID, "unicodeText”),"UTF-16") into fld “Email”

Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
email     scott at
office     1-800-615-0867

More information about the Use-livecode mailing list