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



TECGetTextEncodingInternetName

Returns the Internet encoding name that corresponds to the specified Mac OS text encoding.

pascal OSStatus TECGetTextEncodingInternetName (
                     TextEncoding textEncoding,
                     Str255 encodingName);
textEncoding
The text encoding specification for the encoding whose Internet encoding name you want to obtain.

encodingName
The Internet encoding name. On return, this holds a character string in 7-bit US ASCII that represents the text encoding specified by the textEncoding parameter.

function result
A result code. See Text Encoding Conversion Manager Result Codes for a list of possible values.

DISCUSSION

If there are several Internet encoding names for the same text encoding, the function returns the preferred name. This function performs the opposite action of TECGetTextEncodingFromInternetName.

SEE ALSO

The function GetTextEncodingName


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

Up Previous Next