Enumeration

CFStringBuiltInEncodings

Encodings that are built-in on all platforms on which macOS runs.

Declaration

typedef enum CFStringBuiltInEncodings : CFStringEncoding {
    ...
} CFStringBuiltInEncodings;

Topics

Constants

kCFStringEncodingMacRoman

An encoding constant that identifies the Mac Roman encoding.

kCFStringEncodingWindowsLatin1

An encoding constant that identifies the Windows Latin 1 encoding (ANSI codepage 1252).

kCFStringEncodingISOLatin1

An encoding constant that identifies the ISO Latin 1 encoding (ISO 8859-1)

kCFStringEncodingNextStepLatin

An encoding constant that identifies the NextStep/OpenStep encoding.

kCFStringEncodingASCII

An encoding constant that identifies the ASCII encoding (decimal values 0 through 127).

kCFStringEncodingUnicode

An encoding constant that identifies the Unicode encoding.

kCFStringEncodingUTF8

An encoding constant that identifies the UTF 8 encoding.

kCFStringEncodingNonLossyASCII

An encoding constant that identifies non-lossy ASCII encoding.

kCFStringEncodingUTF16

An encoding constant that identifies kTextEncodingUnicodeDefault + kUnicodeUTF16Format encoding (alias of kCFStringEncodingUnicode).

kCFStringEncodingUTF16BE

An encoding constant that identifies kTextEncodingUnicodeDefault + kUnicodeUTF16BEFormat encoding. This constant specifies big-endian byte order.

kCFStringEncodingUTF16LE

An encoding constant that identifies kTextEncodingUnicodeDefault + kUnicodeUTF16LEFormat encoding. This constant specifies little-endian byte order.

kCFStringEncodingUTF32

An encoding constant that identifies kTextEncodingUnicodeDefault + kUnicodeUTF32Format encoding.

kCFStringEncodingUTF32BE

An encoding constant that identifies kTextEncodingUnicodeDefault + kUnicodeUTF32BEFormat encoding. This constant specifies big-endian byte order.

kCFStringEncodingUTF32LE

An encoding constant that identifies kTextEncodingUnicodeDefault + kUnicodeUTF32LEFormat encoding. This constant specifies little-endian byte order.