Re: NSString's compare: doesn't work...
Re: NSString's compare: doesn't work...
- Subject: Re: NSString's compare: doesn't work...
- From: Bob Ippolito <email@hidden>
- Date: Fri, 25 Feb 2005 01:51:48 -0500
On Feb 25, 2005, at 1:21 AM, Simon Boissonnault wrote:
It seems that NSString's compare: method can't solve one of my
problem, and now I'm wondering if I'll have to reinvent the wheel or
not... It's about accented characters... When I compare, any accented
letter must NOT match a non accented one. Yet, compare: does this,
partially...
For example : é = e, but é != ê. While e != é, and e != ê.
I'm stuck...
Use compare:options:range:locale: with NSLiteralSearch or isEqual:
-bob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden