Behavior of CFStringUpper/Lowercase for NULL Locale?
Behavior of CFStringUpper/Lowercase for NULL Locale?
- Subject: Behavior of CFStringUpper/Lowercase for NULL Locale?
- From: Jim Correia <email@hidden>
- Date: Mon, 30 Nov 2009 14:53:34 -0500
The documentation for CFStringUppercase says:
locale
A CFLocale object that specifies a particular language or
region. Prior to Mac OS X v10.3, this parameter was an untyped
pointer and not used.
The locale argument affects the case mapping algorithm. For
example, for the Turkish locale, case-insensitive compare
matches “I” to “ı” (Unicode code point U+0131, Latin Small
Dotless I), not the normal “i” character.
Prior to 10.3, the parameter was unused and NULL was always passed.
The documentation doesn’t specify what the case mapping behavior is if NULL is passed for a locale. What is the behavior in that case? (Current locale? System locale?)
- Jim_______________________________________________
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