![]() |
Script Manager Derivation Specifiers |
Header: TextCommon.h |
enum { kTextScriptDontCare = -128, kTextLanguageDontCare = -128, kTextRegionDontCare = -128 };
Indicates that the code is not provided for the derivation.
Indicates that language code is not provided for the derivation.
The region code is not provided for the derivation.
For backward compatibility with earlier releases of the Mac OS, the Text Encoding Conversion Manager provides the functions RevertTextEncodingToScriptInfo
that you can use to derive Script Manager values from a text encoding or vice versa.
When using these functions, you can specify a Script Manager language code, script code, and/or font values to derive a text encoding. These three constants are defined to allow you to identify any part of the derivation you dont care about. When reverting from a text encoding to Script Manager values, the Unicode Converter returns these constants for a corresponding value it does not derive: kTextLanguageDontCare, kTextScriptDontCare, and kTextRegionDontCare.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)