On 9 Dec 2013, at 10:38, Gerriet M. Denkmann <gerr...@mdenkmann.de> wrote:
> > On 9 Dec 2013, at 16:53, Stephen J. Butler <stephen.but...@gmail.com> wrote: > >> Would converting each string to NFD (decomposedStringWithCanonicalMapping) >> be an acceptable work around in this case? > No, it would not. I am changing all my rangeOfString calls to use > NSLiteralSearch, which does not have these strange effects. You sure you want to do that? Have a look through http://en.wikipedia.org/wiki/Unicode_equivalence for some examples of combining characters. It is my understanding that NSLiteralSearch will do string comparison on raw unicode characters, and so potentially tell you that two runs of characters are not equal, even though they appear that way to the user. _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com