Re: How to get array of characters from NSString
Re: How to get array of characters from NSString
- Subject: Re: How to get array of characters from NSString
- From: Ross Carter <email@hidden>
- Date: Wed, 13 Aug 2008 18:44:24 -0400
On Aug 12, 2008, at 2:04 PM, Andy Lee wrote:
This is also good:
http://icu-project.org/userguide/unicodeBasics.html
I found this much clearer and better-written than the first document
you referenced. It defines terms and concepts in an orderly
progression. But I would have found it drier and more difficult if
I hadn't read Spolsky first. Unless Spolsky is plainly,
misleadingly, dangerously wrong about something, I would recommend
his article first for anyone (like me) who needs to bone up on this
stuff.
There's also an Apple Tech Note, TN 2078, that gives a very brief but
comprehensible explanation of characters, code points, BMP, surrogate
pairs, combining marks, and grapheme clusters.http://developer.apple.com/technotes/tn2002/tn2078.html#FSREFSANDLONGNAMES
I think I'll file a documentation bug on characterAtIndex: requesting
that it contain a reference to
rangeOfComposedCharacterSequenceAtIndex:, or alternatively that the
String Programming Guide For Cocoa explain the hazard of relying on
characterAtIndex:.
_______________________________________________
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