![]() |
CFStringConvertEncodingToIANACharSetName | Header: CFString.h |
Obtains the name of the IANA registry "charset" that is the closest mapping to a specified string encoding.
CFStringRef CFStringConvertEncodingToIANACharSetName ( CFStringEncoding encoding );
Pass a constant that identifies a supported Core Foundation string encoding.
A reference to a CFString object containing the related IANA "charset" name. Returns NULL if the encoding is not recognized.
The CFStringConvertIANACharSetNameToEncoding function is complementary to this function.