Ron,
Did you put a BOM before the text.
set the useUnicode to true
put numToChar(baseConvert("FEFF",16,10)) into tBom
ask file "" with "jpn_bomUtf16.txt"
put tBom & the unicodeText of fld 1 into URL ("binfile:" & it)
--
Kenji Kojima
http://www.kenjikojima.com/
On Mar 28, 2007, at 8:32 PM, ron wrote:
Greetings,
I am saving Japanese text as unicodetext to a file on a Mac but it
seems to be saved as raw text. That is, when the file is
doubleclicked and opens Textedit, it shows raw unicode, not
Japanese. If Textedit's preferences are set to open text files as
UTF16, then it opens the file and displays Japanese properly. If
the file is opened in Textedit as plain text but then saved as
UTF16 with no other changes, it displays Japanese properly on
subsequent opens.
Is there a way to indicate that the textfile of unicoded text is
indeed UTF16 so that it displays properly in text editors?
Thanks
Ron
ps I am aware of the options of rtftext and htmltext so you don't
have to suggest those as alternative ways save the text. I need the
plain text option as well.
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution