Re: Unicode/UTF confusion
Re: Unicode/UTF confusion
- Subject: Re: Unicode/UTF confusion
- From: John Delacour <email@hidden>
- Date: Sat, 3 May 2003 02:28:00 +0100
- Mac-eudora-version: 6.0a16
At 2:09 am +0100 3/5/03, John Delacour wrote:
At 3:53 pm -0700 2/5/03, Christopher Nebel wrote:
That's proper UTF-16....
... visible result returned is confusing because the first character
of the UCS-2 (as I prefer to call it)
It looks as though someone at Apple agrees with me :-) ....
set fU to "/tmp/x"
set f to POSIX file fU as file specification
set s to "This is an apple: " & (ASCII character 240)
open for access f with write permission
set eof f to 0
write s to f
close access f
set read_1 to read f
set read_2 to read f as <<class ucs2>>
{read_1, read_2}
There's an awful lot of loose talk about Unicode.
JD
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.