Type Alias

CFStringEncoding

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

Declaration

typealias CFStringEncoding = UInt32

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software