unicode in pre-beta

Ron rbarber at yhb.att.ne.jp
Thu Feb 6 04:48:03 EST 2003


Hi Kenji
> 
> 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.

I'll let Tuviah give the authoritative answer to this but this issue has
caused me a great deal of frustration. I am gradually coming to get
consistent behavior.

Yes, you need to convert from ascii code to unicode 16 before you import a
stack. At this point, RR will not import JSIS. I have used both cyclone and
uctrans:
http://www2u.biglobe.ne.jp/~kitabo/

uctrans seems to do a better job.

Recently, Tuviah told me offlist that she had just modified the uniencode
function to support converting from shift-JIS, and other common encoding to
unicode and vice versa. So maybe we will be able to do this in the future.

HTH
Ron

PS perhaps you can forward important problems/questions from the Japan list.
I can't seem to keep up.




More information about the use-livecode mailing list