Bewerken

Delen via


NSStringEncoding Enum

Definition

Encodings supported by NSString.Encode.

public enum NSStringEncoding
type NSStringEncoding = 
Inheritance
NSStringEncoding

Fields

Name Value Description
ASCIIStringEncoding 1

ASCII encoding contains, 7-bit of information stored in 8 bits.

NEXTSTEP 2
JapaneseEUC 3
UTF8 4

8-bit based variable-length character encoding for Unicode.

ISOLatin1 5

8-bit ISO/IEC 8859-1, also knows as Latin1 encoding.

Symbol 6
NonLossyASCII 7
ShiftJIS 8
ISOLatin2 9

8-bit ISO/IEC 8859-2, also knows as Latin2 encoding.

Unicode 10
WindowsCP1251 11
WindowsCP1252 12
WindowsCP1253 13
WindowsCP1254 14
WindowsCP1250 15
ISO2022JP 21
MacOSRoman 30
UTF32 2348810496

32-bit unicode encoding.

UTF16BigEndian 2415919360

16 bit-based variable length encoding, blocks are interpreted as big endian.

UTF16LittleEndian 2483028224

16 bit-based variable length encoding, blocks are interpreted as litle endian.

UTF32BigEndian 2550137088

32 bit encoding, blocks are interpreted as big endian.

UTF32LittleEndian 2617245952

32 bit encoding, blocks are interpreted as little endian.

Remarks

The encodings supported by NSData and NSString.

Applies to