Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Up Previous Next 

PATH 
Mac OS 8 and 9 Developer Documentation > Text Encoding Conversion Manager
Programming With the Text Encoding Conversion Manager



Script Manager Derivation Specifiers

For backward compatibility with earlier releases of the Mac OS, the Text Encoding Conversion Manager provides the functions UpgradeScriptInfoToTextEncoding and 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 don't 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.

enum {
    kTextLanguageDontCare   = -128
    kTextScriptDontCare     = -128
    kTextRegionDontCare     = -128
    );

Constant descriptions

kTextLanguageDontCare
Indicates that language code is not provided for the derivation.

kTextScriptDontCare
Indicates that the code is not provided for the derivation.

kTextRegionDontCare
The region code is not provided for the derivation.


© 1999 Apple Computer, Inc. – (Last Updated 13 Dec 99)

Up Previous Next