• 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: SQLite and Unicode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SQLite and Unicode


  • Subject: Re: SQLite and Unicode
  • From: Greg Guerin <email@hidden>
  • Date: Tue, 7 Apr 2009 14:57:31 -0700

Rosyna wrote:

Oh, >1 was to pass over surrogate pairs, so you don't pass over anything.

rangeOfComposedCharacterSequenceAtIndex: is for more than surrogate pairs. It also applies to base characters that have combining accents following them. For example, the Latin letter 'e' followed by a combining acute-accent is a 2-unichar sequence (or 2 code- points) that should not be separated, otherwise it changes the meaning. A sequence may contain multiple combining accents and diacriticals, so assuming at most 2 is an error.


  -- GG

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: SQLite and Unicode
  • Next by Date: NSTableView - Ctrl-click editing?
  • Previous by thread: Re: SQLite and Unicode
  • Next by thread: [MEET] CocoaHeads-LA meeting Thu 4/9 7:30pm
  • Index(es):
    • Date
    • Thread