creating a Unicode (UTF-8) file using open/write/close file

Kenji Kojima index at kenjikojima.com
Wed Sep 24 22:25:00 EDT 2003


On 2003.Sep.24, at 10:54  PM, Dar Scott wrote:

>>   put number of lines of fld 1 into tNum
>>   repeat with i=1 to tNum
>>     put uniDecode(line i of fld 1, "UTF8") & return after tFld
>>   end repeat
>>   put tFld into URL "file:testUTF8.txt"
>
> This doesn't work for me.
>
> Should 'the unicodeText of ' be inserted just before 'line i of fld 1'?


Worked both script with or without 'the unicodeText of '
on MacOSX and WindowsXP for Japanese text.


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








More information about the use-livecode mailing list