Re: Unicode search [was Re: the Holy Grail of AppleScript lists]
Re: Unicode search [was Re: the Holy Grail of AppleScript lists]
- Subject: Re: Unicode search [was Re: the Holy Grail of AppleScript lists]
- From: John Delacour <email@hidden>
- Date: Thu, 20 Mar 2003 23:35:08 +0000
- Mac-eudora-version: 6.0a11
At 11:55 pm +0100 20/3/03, Helmut Fuchs wrote:
Unicode uses a variable length encoding scheme. So you can't know
beforehand into how many bytes a certain amount of characters are
encoded (between 1 to 6 bytes per character in UTF-8, if I remember
correctly).
But UTF-8 is a transformation of Unicode using a speial algorithm,
just as binhex or uuencode. Every character in Unicode proper
consists of two bytes (or 4 in the case of UTF-32) and the length is
not variable.
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.