Important: The information in this document is obsolete and should not be used for new development.
Diacritical Stripping and Case Conversion
The Text Utilities routinesLowercaseText
,UppercaseText
,StripDiacritics
, andUppercaseStripDiacritics
use information in a script system's string-manipulation ('itl2'
) resource to perform their tasks. A Roman string-manipulation resource is included with every Macintosh system; the U.S. version of the Roman string-manipulation resource converts case and strips diacritical marks according to the following rules:
- The unaccented letters A-Z and a-z are converted to unaccented a-z and A-Z, respectively, by case conversion. They are unaffected by stripping.
- Accented versions (Å, ê, Ñ) are converted to equivalent unaccented versions (A, e, N) by stripping.
- Accented versions (Å, ê, Ñ) are converted to identically accented case-changed versions (å, Ê, ñ) by case conversion.
- Ligatures are unaffected by stripping, but are converted as appropriate by case conversion. Only the ligatures ß, \xDE, and \x9C, which have no uppercase versions, are unaffected by case conversion as well as by stripping.