• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unicode search [was Re: the Holy Grail of AppleScript lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Fri, 21 Mar 2003 12:16:06 +0000
  • Mac-eudora-version: 6.0a11

At 11:49 am +0100 21/3/03, Emmanuel wrote:

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.

That's often true, but it is not a rule and it is sometimes false. Not all glyphs are coded into 2 bytes under UTF-16. As you certainly noticed UTF-16 allows for displaying much more than 32,767 characters.

By definition UTF-16 is two bytes. 256 * 256 = 65536, so that's the limit. In practice there are fewer code points assigned than that.


Of course, the most common characters are coded into 2 bytes under UTF-16.

All of them. Give me an example of a character in UTF-16 that is not two bytes.

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.

  • Follow-Ups:
    • Re: Unicode search [was Re: the Holy Grail of AppleScript lists]
      • From: Emmanuel <email@hidden>
    • Re: Unicode search
      • From: Helmut Fuchs <email@hidden>
References: 
 >Re: the Holy Grail of AppleScript lists (From: Paul Berkowitz <email@hidden>)
 >Unicode search [was Re: the Holy Grail of AppleScript lists] (From: Helmut Fuchs <email@hidden>)
 >Re: Unicode search [was Re: the Holy Grail of AppleScript lists] (From: John Delacour <email@hidden>)
 >Re: Unicode search [was Re: the Holy Grail of AppleScript lists] (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: Eudora users - Did you know that...
  • Next by Date: Re: applescript-users digest, Vol 3 #1485 - 10 msgs
  • Previous by thread: Re: Unicode search [was Re: the Holy Grail of AppleScript lists]
  • Next by thread: Re: Unicode search
  • Index(es):
    • Date
    • Thread