- Inside Macintosh: Text /
- Appendix A - Built-in Script Support / The Roman Script System
Diacritical Stripping and Case Conversion
The Text Utilities routines LowercaseText, UppercaseText, StripDiacritics, and UppercaseStripDiacritics 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 ß, �, and �, which have no uppercase versions, are unaffected by case conversion as well as by stripping.
© Apple Computer, Inc.
6 JUL 1996