Re: SQLite and Unicode
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