Carbon


Latest Unicode Mapping Version Constant

Header: UnicodeConverter.h

enum {
    kUnicodeUseLatestMapping = -1,
    kUnicodeUseHFSPlusMapping = 4
};

Constant descriptions

kUnicodeUseLatestMapping

Instead of explicitly specifying the mapping version of the Unicode mapping table to be used for conversion of a text string, you can use this constant to specify that the latest version be used.

kUnicodeUseHFSPlusMapping

Indicates the mapping version used by HFS Plus to convert filenames between Mac OS encodings and Unicode. Only one constant is defined so far for a specific mapping version.

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.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)