• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Behavior of CFStringUpper/Lowercase for NULL Locale?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: removing all sublayers from a layer with fast enumeration
  • Next by Date: Re: Does NSData rearrange the order of bits?
  • Previous by thread: Re: Does NSData rearrange the order of bits?
  • Next by thread: iterating and removing objects from a collection
  • Index(es):
    • Date
    • Thread