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

Trevor DeVore lists at mangomultimedia.com
Thu Sep 25 09:50:01 EDT 2003


Thanks everyone for your responses.  Using:

put uniDecode(the unicodeText of fld 1, "UTF8") into URL 
"binfile:config.xml"

I get a file that Flash MX reads without a problem.  BBEdit still 
doesn't recognize it but I will mess around with adding the BOM to the 
file and see if that helps.  Now I just need to find a way to get file 
paths in unicode and I will have a unicode friendly application.

By the way, for OS X users who need to test with international 
languages it is really easy.  Go to System Prefs >> International >> 
Input Menu and select the languages you want to type in.  You will see 
a little flag appear in your menu whenever you enter a text field.  You 
can then select different flags and your keyboard entry changes to that 
language. So within Rev you can enter ascii charactes, Japanese 
characters, etc. for testing.  Very handy.

Thanks,

-- 
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com




More information about the use-livecode mailing list