Pulling Unicode Data from a DataGrid
littlejamesw at mac.com
Tue Mar 19 13:21:59 EDT 2013
1) Are you populating the data grid with an array containing UTF-16 data?
UTF 8, I overrode the default behavior and when I FillInData: I do this:
set the unicodetext of the long ID of me to uniencode(pData, "utf8")
and this works great. But, when I tried converting to UTF-16, then it is garbled.
set the unicodetext of the long ID of me to uniencode(pData, "utf16")
2) When you display the Japanese text in the data grid are you setting the
unicodeText of a field in the row?
-Yes, see above script.
3) Is the user updating this Japanese text at all or is it read-only?
4) What conversions are you trying to run on the data when you pull it out
put uniDecode(uniEncode(tVar, "UTF16")) into tVar
We basically want to compare UTF-16 strings.
Thanks Trevor for digging into this. :D
More information about the Use-livecode