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



UnicodeMapping

A Unicode mapping structure contains a complete text encoding specification for a Unicode encoding, a complete text encoding specification giving the encoding for the text to be converted to or from Unicode (usually this is for a non-Unicode encoding), and the version of the mapping table to be used for conversion.

struct UnicodeMapping {
    TextEncoding        unicodeEncoding;
    TextEncoding        otherEncoding;
    UnicodeMapVersion   mappingVersion;
};
typedef struct UnicodeMapping UnicodeMapping
typedef UnicodeMapping *UnicodeMappingPtr;
unicodeEncoding
A Unicode text encoding specification of type TextEncoding. See Text Encoding Base .

otherEncoding
A text encoding specification for the text to be converted to or from Unicode.

mappingVersion
The version of the Unicode mapping table to be used.

Many Unicode Converter functions take a pointer to a Unicode mapping structure as a parameter. For functions that do not modify the Unicode mapping contents, the Unicode Converter provides a constant pointer to a Unicode mapping structure defined by the ConstUnicodeMappingPtr data type.

typedef const UnicodeMapping *ConstUnicodeMappingPtr;


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

Up Previous Next