Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get array of characters from NSString




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >How to get array of characters from NSString (From: "SridharRao M" <email@hidden>)
 >Re: How to get array of characters from NSString (From: Phil Faber <email@hidden>)
 >Re: How to get array of characters from NSString (From: Deborah Goldsmith <email@hidden>)
 >Re: How to get array of characters from NSString (From: "Kyle Sluder" <email@hidden>)
 >Re: How to get array of characters from NSString (From: Deborah Goldsmith <email@hidden>)
 >Re: How to get array of characters from NSString (From: Andy Lee <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.