Type Alias

CFStringEncoding

An integer type for constants used to specify supported string encodings in various CFString functions.

Declaration

typedef UInt32 CFStringEncoding;

Discussion

This type is used to define the constants for the built-in encodings (see CFStringBuiltInEncodings for a list) and for platform-dependent encodings (see External String Encodings). If CFString does not recognize or support the string encoding of a particular string, CFString functions will identify the string’s encoding as kCFStringEncodingInvalidId.