Carbon


ResolveDefaultTextEncoding

Header: TextCommon.h Carbon status: Supported

Returns a text encoding specification in which any meta-values have been resolved to real values. Currently, this affects only the base encoding values packed into the text encoding specification.

TextEncoding ResolveDefaultTextEncoding (
    TextEncoding encoding
);
Parameter descriptions
encoding

A text encoding specification possibly containing meta-values that you want to resolve to a text encoding specification containing only real values.

function result

A text encoding specification containing only real base encoding values.

DISCUSSION

This function is useful for application developers who are providing APIs that take text encoding specifications as parameters. All APIs in the Unicode Converter and Text Encoding Converter perform this translation automatically.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


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