On Mon, Mar 18, 2013 at 5:04 PM, James Little littlejam...@mac.com wrote:
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
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
On Tue, Mar 19, 2013 at 1:21 PM, James Little littlejam...@mac.com wrote:
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,
Thanks so much Trevor and Nicolas! Unicode text has been my bane of existence
for the last few days/weeks. I can now move forward.
Trevor: Your suggestion worked! I'm very happy. put uniencode(tVar, utf8)
into theUTF16Text was the key.
Nicolas: I will be bookmarking this code for later use.
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
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
For handling Japanese text, these functions (below) by Kenji Kojima have
served perfectly for years. (Many thanks again, Kenji!)
-- Nicolas Cueto
on mouseUp
answer file Open unicode file:
if it is empty then exit mouseUp
put url (binfile: it) into tURL
set the useUnicode to true