CFStringConvertEncodingToWindowsCodepageHeader: CFString.h

Obtains the Windows codepage identifier that maps most closely to a given Core Foundation encoding constant.

UInt32 CFStringConvertEncodingToWindowsCodepage (
    CFStringEncoding encoding
);
encoding

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

function result

An integer constant that identifies a Windows codepage. Returns the constant kCFStringEncodingInvalidId if the mapping is not known.

DISCUSSION

The CFStringConvertWindowsCodepageToEncoding function is complementary to this function.


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