unicode in pre-beta

Kenji Kojima webart at kenjikojima.com
Wed Feb 5 13:43:01 EST 2003


Hi,

How can I import 2 bytes text file into a field?
I tried to import a Japanese text file.

   answer file ""
   put "file:"&it into tUrl
   set the unicodeText of field 1 to URL tUrl

But it did not work.  I got a rainbow cursor long while (it's OSX)
and Chinese like garbage characters in the field.
Maybe I needed to convert from ASCII code to unicode
before set the unicodeText.

Thanks,

--
Kenji Kojima
http://www.kenjikojima.com/








More information about the use-livecode mailing list