A game framework written with osu! in mind.
1// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
2// See the LICENCE file in the repository root for full licence text.
3
4namespace osu.Framework.Platform.MacOS.Native
5{
6 public enum NSStringEncoding : uint
7 {
8 /// <summary>
9 /// 7-bit ASCII encoding within 8 bit chars.
10 /// </summary>
11 ASCII = 1,
12
13 /// <summary>
14 /// 8-bit ASCII encoding with NEXTSTEP extensions.
15 /// </summary>
16 NEXTSTEP = 2,
17
18 /// <summary>
19 /// 8-bit EUC encoding for Japanese text.
20 /// </summary>
21 JapaneseEUC = 3,
22
23 /// <summary>
24 /// 8-bit representation of Unicode characters.
25 /// </summary>
26 UTF8 = 4,
27
28 /// <summary>
29 /// 8-bit ISO Latin 1 encoding.
30 /// </summary>
31 ISOLatin1 = 5,
32
33 /// <summary>
34 /// 8-bit Adobe Symbol encoding vector.
35 /// </summary>
36 Symbol = 6,
37
38 /// <summary>
39 /// 7-bit verbose ASCII to represent all Unicode characters.
40 /// </summary>
41 NonLossyASCII = 7,
42
43 /// <summary>
44 /// 8-bit Shift-JIS encoding for Japanese text.
45 /// </summary>
46 ShiftJIS = 8,
47
48 /// <summary>
49 /// 8-bit ISO Latin 2 encoding.
50 /// </summary>
51 ISOLatin2 = 9,
52
53 /// <summary>
54 /// The canonical Unicode encoding.
55 /// </summary>
56 Unicode = 10,
57
58 /// <summary>
59 /// Microsoft Windows codepage 1251, encoding Cyrillic characters.
60 /// </summary>
61 WindowsCP1251 = 11,
62
63 /// <summary>
64 /// Microsoft Windows codepage 1252, encoding Latin 1 characters.
65 /// </summary>
66 WindowsCP1252 = 12,
67
68 /// <summary>
69 /// Microsoft Windows codepage 1253, encoding Greek characters.
70 /// </summary>
71 WindowsCP1253 = 13,
72
73 /// <summary>
74 /// Microsoft Windows codepage 1254, encoding Turkish characters.
75 /// </summary>
76 WindowsCP1254 = 14,
77
78 /// <summary>
79 /// Microsoft Windows codepage 1250, encoding Latin 2 characters.
80 /// </summary>
81 WindowsCP1250 = 15,
82
83 /// <summary>
84 /// ISO 2022 Japanese encoding.
85 /// </summary>
86 ISO2022JP = 21,
87
88 /// <summary>
89 /// Classing Macintosh Roman encoding.
90 /// </summary>
91 MacOSRoman = 30,
92
93 /// <summary>
94 /// 16-bit UTF encoding.
95 /// </summary>
96 UTF16 = Unicode,
97
98 /// <summary>
99 /// <see cref="UTF16"/> encoding with explicit endianness.
100 /// </summary>
101 UTF16BigEndian = 0x90000100,
102
103 /// <summary>
104 /// <see cref="UTF16"/> encoding with explicit endianness.
105 /// </summary>
106 UTF16LittleEndian = 0x94000100,
107
108 /// <summary>
109 /// 32-bit UTF encoding.
110 /// </summary>
111 UTF32 = 0x8c000100,
112
113 /// <summary>
114 /// <see cref="UTF32"/> encoding with explicit endianness.
115 /// </summary>
116 UTF32BigEndian = 0x98000100,
117
118 /// <summary>
119 /// <see cref="UTF32"/> encoding with explicit endianness.
120 /// </summary>
121 UTF32LittleEndian = 0x9c000100
122 }
123}