CFStringConvertIANACharSetNameToEncodingHeader: CFString.h

Obtains the Core Foundation encoding constant that is the closest mapping to a given IANA registry "charset" name.

CFStringEncoding CFStringConvertIANACharSetNameToEncoding (
    CFStringRef theString
);
theString
function result

An integer constant that identifies a supported string encoding in Core Foundation. Returns the constant kCFStringEncodingInvalidId if the name is not recognized.

DISCUSSION

The CFStringConvertEncodingtoIANACharSetName function is complementary to this function.


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