Pulling Unicode Data from a DataGrid

James Little littlejamesw at mac.com
Mon Mar 18 17:04:10 EDT 2013


Hey all,

We're translating our app SmoothieRx into Japanese and have been struggling to get UTF-16 text from a DataGrid. We've tried all sorts of combinations of uniEncode, uniDecode on the data and it all comes out garbled. We first overrode the DataGrid, so we can see that the Japanese in the datagrid is correct. But, when we pull it out using GetDataOfLine or dgDataOfLine and then try to decode it, it is garbled. Current thinking is that we need to create another handler like GetUnicodeDataOfLine. Any ideas?

-Todd



More information about the use-livecode mailing list