creating a Unicode (UTF-8) file using open/write/close file
Dar Scott
dsc at swcp.com
Sat Sep 27 00:24:00 EDT 2003
On Friday, September 26, 2003, at 10:10 PM, Trevor DeVore wrote:
> That did it!
I am shocked!
> return numToChar(abs(baseConvert("FEFF",16,10)))
BTW, the abs() is only needed to get around a baseConvert() bug in the
general case, which this is not. Also, you can figure out the constant
expression in the message box, so this line might be shortened to this:
return numToChar(65279) -- FEFF
> Thanks!
You are welcome. I hope it works on other platforms.
Dar Scott
****************************************
Dar Scott Consulting
http://www.swcp.com/dsc/
Programming Services
****************************************
More information about the use-livecode
mailing list