Re: inconsistent behavior of NSString's localizedCaseInsensitiveCompare
Re: inconsistent behavior of NSString's localizedCaseInsensitiveCompare
- Subject: Re: inconsistent behavior of NSString's localizedCaseInsensitiveCompare
- From: Martin Wierschin <email@hidden>
- Date: Sat, 05 May 2012 15:36:44 -0700
> Are you sure your debugger isn't lying to you?
The code behaves the same in the built application.
> Maybe you have category on NSString that does that?
No, but I also tried the CFStringCompareWithOptionsAndLocale with the same results. I suppose that could call through to an NSString override, but unlikely, and in this case I don't have such an override.
> Tested on Mac OS X 10.6.8.
I tested on both 10.6.8 and 10.7.3, with the same results.
My current/primary locale identifier is "en_US", though I do have German as a secondary preferred language in my system preferences.
~Martin
_______________________________________________
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