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!)
web       http://elementarysoftware.com/
email     sc...@elementarysoftware.com
office     1-800-615-0867
------------------------------------------------------








_______________________________________________
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