![]() |
TextToUnicodeInfo |
Header: UnicodeConverter.h |
typedef struct OpaqueTextToUnicodeInfo* TextToUnicodeInfo;
A Unicode converter object is a private object containing mapping and state information. Many of the Unicode Converter functions that perform conversions require a Unicode converter object containing information used for the conversion process. There are three types of Unicode converter objects, all serving the same purpose but used for different types of conversions. You use the TextToUnicodeInfo type, described here, for converting from non-Unicode text to Unicode text.
Because your application cannot directly create or modify the contents of the private Unicode converter object, the Unicode Converter provides functions to create and dispose of it. To create a Unicode converter object for converting from non-Unicode text to Unicode text, your application must first call either the function CreateTextToUnicodeInfoByEncoding
to provide the mapping information required for the conversion. You can then pass this object to the function
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)