GetCharacterSerialization
The returns the size of a single character in bits, i.e. 1 byte is 8 bits, this can be 8, 16 or 32 depending on settings and operating system
Syntax
public const string enginedll = @"engine.dll"; [DllImport(enginedll, EntryPoint = "GetCharacterSerialization")] public static extern Int64 GetCharacterSerialization(Int64 model, out Int64 encoding, out byte ascii);
Property model
Size: 64 bit / 8 byte (value)Property encoding
Size: 64 bit / 8 byte (reference)32 [default] encoding ignored
64 encoding Windows 1250
65 encoding Windows 1251
66 encoding Windows 1252
67 encoding Windows 1253
68 encoding Windows 1254
69 encoding Windows 1255
70 encoding Windows 1256
71 encoding Windows 1257
72 encoding Windows 1258
128 encoding ISO8859 1
129 encoding ISO8859 2
130 encoding ISO8859 3
131 encoding ISO8859 4
132 encoding ISO8859 5
133 encoding ISO8859 6
134 encoding ISO8859 7
135 encoding ISO8859 8
136 encoding ISO8859 9
137 encoding ISO8859 10
138 encoding ISO8859 11
encoding ISO8859 12 => does not exist
140 encoding ISO8859 13
141 encoding ISO8859 14
142 encoding ISO8859 15
143 encoding ISO8859 16
160 encoding MACINTOSH CENTRAL EUROPEAN
192 encoding SHIFT JIS X 213
Property ascii
Size: 64 bit / 8 byte (reference)true [default] 8 bit serialization
false 16/32 bit serialization