creating a Unicode (UTF-8) file using open/write/close file
Kenji Kojima
index at kenjikojima.com
Thu Sep 25 11:42:00 EDT 2003
On 2003.Sep.25, at 10:38 AM, Trevor DeVore wrote:
> Now I just need to find a way to get file paths in unicode and I will
> have a unicode friendly application.
If you like to read unicode path file on MacOS, you can use AppleScript.
on mouseUp
put "choose file with prompt " "e"e&return into asScript
put "set openFile to result"&return after asScript
put "try"&return after asScript
put "read openFile" & return after asScript
put "on error"&return after asScript
put "close access openFile"&return after asScript
put "display dialog ""e&"Error is occured.""e& return after
asScript
put "return"&return after asScript
put "end try"&return after asScript
do asScript as appleScript
put the result into fld 1
end mouseUp
http://www.egroups.co.jp/message/Runtime_Revolution_Users_Japan/2076
--
Kenji Kojima
http://www.kenjikojima.com/
More information about the use-livecode
mailing list