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



Unicode Mapping Versions

When performing conversions, you specify the version of the Unicode mapping table to be used for the conversion. You provide the version number in the mapping version field of the structure UnicodeMapping that is passed to a function. A Unicode mapping version is defined by the UnicodeMapVersion data type.

typedef SInt32  UnicodeMapVersion;

Instead of explicitly specifying the mapping version of the Unicode mapping table to be used for conversion of a text string, you can specify that the latest version be used. The following enumeration defines the use-latest-mapping constant:

enum {
    kUnicodeUseLatestMapping = -1
};

Only one constant is defined so far for a specific mapping version-the mapping version used by HFS Plus to convert filenames between Mac OS encodings and Unicode. In the future constants may be defined for other specific mapping versions.

enum {
    kUnicodeUseHFSPlusMapping = 4
};


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

Up Previous Next