Carbon


TECGetTextEncodingInternetName

Header: TextEncodingConverter.h Carbon status: Supported

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

OSStatus TECGetTextEncodingInternetName (
    TextEncoding textEncoding, 
    Str255 encodingName
);
Parameter descriptions
textEncoding

A Mac OS text encoding specification.

encodingName

On return, the Internet encoding name, in 7-bit US ASCII. If there are several Internet encoding names for the same text encoding, the encodingName parameter contains the preferred name.

function result

A result code.

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)