On 18 Jul 2010, at 09:38, vincent habchi wrote: > Since I use the unichar to make comparisons, I could also have initialized a > custom NSCharacterSet with "é", but, as we say here in France: "it's like > using a bulldozer to break a nut shell".
It's worth perhaps pointing out that comparing with the unichar 'é' (U+00E9) won't pick up the equivalent sequence ('e', U+0301). i.e. unless you know that all 'é' characters in your input are precomposed, you will miss some of them. You might, therefore, be better using NSString... Kind regards, Alastair. -- http://alastairs-place.net _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com