CFStringConvertEncodingToIANACharSetNameHeader: CFString.h

Obtains the name of the IANA registry "charset" that is the closest mapping to a specified string encoding.

CFStringRef CFStringConvertEncodingToIANACharSetName (
    CFStringEncoding encoding
);
encoding

Pass a constant that identifies a supported Core Foundation string encoding.

function result

A reference to a CFString object containing the related IANA "charset" name. Returns NULL if the encoding is not recognized.

DISCUSSION

The CFStringConvertIANACharSetNameToEncoding function is complementary to this function.


© 1999 Apple Computer, Inc. — (Last Updated 9/15/99)