xref: /PHP-8.4/win32/cp_enc_map.c (revision 64002648)
1 /* Autogenerated file. Update cp_enc_map_gen.c and regen like
2  cp_enc_map_gen.exe > cp_enc_map.c
3 */
4 
5 static const struct php_win32_cp php_win32_cp_map[] = {	{ 37, 0, 0, 1, "IBM037", NULL, "37    (IBM EBCDIC - U.S./Canada)" },
6 	{ 437, 0, 0, 1, "IBM437", NULL, "437   (OEM - United States)" },
7 	{ 500, 0, 0, 1, "IBM500", NULL, "500   (IBM EBCDIC - International)" },
8 	{ 708, 0, 0, 1, "ASMO-708", NULL, "708   (Arabic - ASMO)" },
9 	/* 709 is invalid */
10 	/* 710 is invalid */
11 	{ 720, 0, 0, 1, "DOS-720", NULL, "720   (Arabic - Transparent ASMO)" },
12 	{ 737, 0, 0, 1, "ibm737", NULL, "737   (OEM - Greek 437G)" },
13 	{ 775, 0, 0, 1, "ibm775", NULL, "775   (OEM - Baltic)" },
14 	{ 850, 0, 0, 1, "ibm850", "850|CP850|IBM850|CSPC850MULTILINGUAL", "850   (OEM - Multilingual Latin I)" },
15 	{ 852, 0, 0, 1, "ibm852", NULL, "852   (OEM - Latin II)" },
16 	{ 855, 0, 0, 1, "IBM855", NULL, "855   (OEM - Cyrillic)" },
17 	{ 857, 0, 0, 1, "ibm857", NULL, "857   (OEM - Turkish)" },
18 	{ 858, 0, 0, 1, "IBM00858", NULL, "858   (OEM - Multilingual Latin I + Euro)" },
19 	{ 860, 0, 0, 1, "IBM860", NULL, "860   (OEM - Portuguese)" },
20 	{ 861, 0, 0, 1, "ibm861", NULL, "861   (OEM - Icelandic)" },
21 	{ 862, 0, 0, 1, "DOS-862", "862|CP862|IBM862|CSPC862LATINHEBREW", "862   (OEM - Hebrew)" },
22 	{ 863, 0, 0, 1, "IBM863", NULL, "863   (OEM - Canadian French)" },
23 	{ 864, 0, 0, 1, "IBM864", NULL, "864   (OEM - Arabic)" },
24 	{ 865, 0, 0, 1, "IBM865", NULL, "865   (OEM - Nordic)" },
25 	{ 866, 0, 0, 1, "cp866", "866|CP866|IBM866|CSIBM866", "866   (OEM - Russian)" },
26 	{ 869, 0, 0, 1, "ibm869", NULL, "869   (OEM - Modern Greek)" },
27 	{ 870, 0, 0, 1, "IBM870", NULL, "870   (IBM EBCDIC - Multilingual/ROECE (Latin-2))" },
28 	{ 874, 0, 0, 1, "windows-874", "CP874", "874   (ANSI/OEM - Thai)" },
29 	{ 875, 0, 0, 1, "cp875", NULL, "875   (IBM EBCDIC - Modern Greek)" },
30 	{ 932, 0, 0, 2, "shift_jis", "CP932|SHIFT_JIS|MS_KANJI|CSSHIFTJIS", "932   (ANSI/OEM - Japanese Shift-JIS)" },
31 	{ 936, 0, 0, 2, "gb2312", "GB2312|GBK|CP936|MS936|WINDOWS-936", "936   (ANSI/OEM - Simplified Chinese GBK)" },
32 	{ 949, 0, 0, 2, "ks_c_5601-1987", "CP949|UHC", "949   (ANSI/OEM - Korean)" },
33 	{ 950, 0, 0, 2, "big5", "CP950|BIG-5", "950   (ANSI/OEM - Traditional Chinese Big5)" },
34 	{ 1026, 0, 0, 1, "IBM1026", NULL, "1026  (IBM EBCDIC - Turkish (Latin-5))" },
35 	{ 1047, 0, 0, 1, "IBM01047", NULL, "1047  (IBM EBCDIC - Latin-1/Open System)" },
36 	{ 1140, 0, 0, 1, "IBM01140", NULL, "1140  (IBM EBCDIC - U.S./Canada (37 + Euro))" },
37 	{ 1141, 0, 0, 1, "IBM01141", NULL, "1141  (IBM EBCDIC - Germany (20273 + Euro))" },
38 	{ 1142, 0, 0, 1, "IBM01142", NULL, "1142  (IBM EBCDIC - Denmark/Norway (20277 + Euro))" },
39 	{ 1143, 0, 0, 1, "IBM01143", NULL, "1143  (IBM EBCDIC - Finland/Sweden (20278 + Euro))" },
40 	{ 1144, 0, 0, 1, "IBM01144", NULL, "1144  (IBM EBCDIC - Italy (20280 + Euro))" },
41 	{ 1145, 0, 0, 1, "IBM01145", NULL, "1145  (IBM EBCDIC - Latin America/Spain (20284 + Euro))" },
42 	{ 1146, 0, 0, 1, "IBM01146", NULL, "1146  (IBM EBCDIC - United Kingdom (20285 + Euro))" },
43 	{ 1148, 0, 0, 1, "IBM01148", NULL, "1148  (IBM EBCDIC - International (500 + Euro))" },
44 	{ 1149, 0, 0, 1, "IBM01149", NULL, "1149  (IBM EBCDIC - Icelandic (20871 + Euro))" },
45 	/* 1200 is invalid */
46 	/* 1201 is invalid */
47 	{ 1250, 0, 0, 1, "windows-1250", "CP1250|MS-EE|WINDOWS-1250", "1250  (ANSI - Central Europe)" },
48 	{ 1251, 0, 0, 1, "windows-1251", "CP1251|MS-CYRL|WINDOWS-1251", "1251  (ANSI - Cyrillic)" },
49 	{ 1252, 0, 0, 1, "windows-1252", "CP1252|MS-ANSI|WINDOWS-1252", "1252  (ANSI - Latin I)" },
50 	{ 1253, 0, 0, 1, "windows-1253", "CP1253|MS-GREEK|WINDOWS-1253", "1253  (ANSI - Greek)" },
51 	{ 1254, 0, 0, 1, "windows-1254", "CP1254|MS-TURK|WINDOWS-1254", "1254  (ANSI - Turkish)" },
52 	{ 1255, 0, 0, 1, "windows-1255", "CP1255|MS-HEBR|WINDOWS-1255", "1255  (ANSI - Hebrew)" },
53 	{ 1256, 0, 0, 1, "windows-1256", "CP1256|MS-ARAB|WINDOWS-1256", "1256  (ANSI - Arabic)" },
54 	{ 1257, 0, 0, 1, "windows-1257", "CP1257|WINBALTRIM|WINDOWS-1257", "1257  (ANSI - Baltic)" },
55 	{ 1258, 0, 0, 1, "windows-1258", "CP1258|WINDOWS-1258", "1258  (ANSI/OEM - Viet Nam)" },
56 	{ 1361, 0, 0, 2, "Johab", "CP1361|JOHAB", "1361  (Korean - Johab)" },
57 	{ 10000, 0, 0, 1, "macintosh", "MAC|MACINTOSH|MACROMAN|CSMACINTOSH", "10000 (MAC - Roman)" },
58 	{ 10001, 0, 0, 2, "x-mac-japanese", NULL, "10001 (MAC - Japanese)" },
59 	{ 10002, 0, 0, 2, "x-mac-chinesetrad", NULL, "10002 (MAC - Traditional Chinese Big5)" },
60 	{ 10003, 0, 0, 2, "x-mac-korean", NULL, "10003 (MAC - Korean)" },
61 	{ 10004, 0, 0, 1, "x-mac-arabic", "MACARABIC", "10004 (MAC - Arabic)" },
62 	{ 10005, 0, 0, 1, "x-mac-hebrew", "MACHEBREW", "10005 (MAC - Hebrew)" },
63 	{ 10006, 0, 0, 1, "x-mac-greek", "MACGREEK", "10006 (MAC - Greek I)" },
64 	{ 10007, 0, 0, 1, "x-mac-cyrillic", "MACCYRILLIC", "10007 (MAC - Cyrillic)" },
65 	{ 10008, 0, 0, 2, "x-mac-chinesesimp", NULL, "10008 (MAC - Simplified Chinese GB 2312)" },
66 	{ 10010, 0, 0, 1, "x-mac-romanian", "MACROMANIA", "10010 (MAC - Romania)" },
67 	{ 10017, 0, 0, 1, "x-mac-ukrainian", "MACUKRAINE", "10017 (MAC - Ukraine)" },
68 	{ 10021, 0, 0, 1, "x-mac-thai", "MACTHAI", "10021 (MAC - Thai)" },
69 	{ 10029, 0, 0, 1, "x-mac-ce", "MACCENTRALEUROPE", "10029 (MAC - Latin II)" },
70 	{ 10079, 0, 0, 1, "x-mac-icelandic", "MACICELAND", "10079 (MAC - Icelandic)" },
71 	{ 10081, 0, 0, 1, "x-mac-turkish", "MACTURKISH", "10081 (MAC - Turkish)" },
72 	{ 10082, 0, 0, 1, "x-mac-croatian", "MACCROATIAN", "10082 (MAC - Croatia)" },
73 	/* 12000 is invalid */
74 	/* 12001 is invalid */
75 	{ 20000, 0, 0, 2, "x-Chinese_CNS", NULL, "20000 (CNS - Taiwan)" },
76 	{ 20001, 0, 0, 2, "x-cp20001", NULL, "20001 (TCA - Taiwan)" },
77 	{ 20002, 0, 0, 2, "x_Chinese-Eten", NULL, "20002 (Eten - Taiwan)" },
78 	{ 20003, 0, 0, 2, "x-cp20003", NULL, "20003 (IBM5550 - Taiwan)" },
79 	{ 20004, 0, 0, 2, "x-cp20004", NULL, "20004 (TeleText - Taiwan)" },
80 	{ 20005, 0, 0, 2, "x-cp20005", NULL, "20005 (Wang - Taiwan)" },
81 	{ 20105, 0, 0, 1, "x-IA5", NULL, "20105 (IA5 IRV International Alphabet No.5)" },
82 	{ 20106, 0, 0, 1, "x-IA5-German", NULL, "20106 (IA5 German)" },
83 	{ 20107, 0, 0, 1, "x-IA5-Swedish", NULL, "20107 (IA5 Swedish)" },
84 	{ 20108, 0, 0, 1, "x-IA5-Norwegian", NULL, "20108 (IA5 Norwegian)" },
85 	{ 20127, 0, 0, 1, "us-ascii", NULL, "20127 (US-ASCII)" },
86 	{ 20261, 0, 0, 2, "x-cp20261", NULL, "20261 (T.61)" },
87 	{ 20269, 0, 0, 1, "x-cp20269", NULL, "20269 (ISO 6937 Non-Spacing Accent)" },
88 	{ 20273, 0, 0, 1, "IBM273", NULL, "20273 (IBM EBCDIC - Germany)" },
89 	{ 20277, 0, 0, 1, "IBM277", NULL, "20277 (IBM EBCDIC - Denmark/Norway)" },
90 	{ 20278, 0, 0, 1, "IBM278", NULL, "20278 (IBM EBCDIC - Finland/Sweden)" },
91 	{ 20280, 0, 0, 1, "IBM280", NULL, "20280 (IBM EBCDIC - Italy)" },
92 	{ 20284, 0, 0, 1, "IBM284", NULL, "20284 (IBM EBCDIC - Latin America/Spain)" },
93 	{ 20285, 0, 0, 1, "IBM285", NULL, "20285 (IBM EBCDIC - United Kingdom)" },
94 	{ 20290, 0, 0, 1, "IBM290", NULL, "20290 (IBM EBCDIC - Japanese Katakana Extended)" },
95 	{ 20297, 0, 0, 1, "IBM297", NULL, "20297 (IBM EBCDIC - France)" },
96 	{ 20420, 0, 0, 1, "IBM420", NULL, "20420 (IBM EBCDIC - Arabic)" },
97 	{ 20423, 0, 0, 1, "IBM423", NULL, "20423 (IBM EBCDIC - Greek)" },
98 	{ 20424, 0, 0, 1, "IBM424", NULL, "20424 (IBM EBCDIC - Hebrew)" },
99 	{ 20833, 0, 0, 1, "x-EBCDIC-KoreanExtended", NULL, "20833 (IBM EBCDIC - Korean Extended)" },
100 	{ 20838, 0, 0, 1, "IBM-Thai", NULL, "20838 (IBM EBCDIC - Thai)" },
101 	{ 20866, 0, 0, 1, "koi8-r", "KOI8-R|CSKOI8R", "20866 (Russian - KOI8)" },
102 	{ 20871, 0, 0, 1, "IBM871", NULL, "20871 (IBM EBCDIC - Icelandic)" },
103 	{ 20880, 0, 0, 1, "IBM880", NULL, "20880 (IBM EBCDIC - Cyrillic (Russian))" },
104 	{ 20905, 0, 0, 1, "IBM905", NULL, "20905 (IBM EBCDIC - Turkish)" },
105 	{ 20924, 0, 0, 1, "IBM00924", NULL, "20924 (IBM EBCDIC - Latin-1/Open System (1047 + Euro))" },
106 	{ 20932, 0, 0, 2, "EUC-JP", "EUC-JP|EUCJP|EXTENDED_UNIX_CODE_PACKED_FORMAT_FOR_JAPANESE|CSEUCPKDFMTJAPANESE", "20932 (JIS X 0208-1990 & 0212-1990)" },
107 	{ 20936, 0, 0, 2, "x-cp20936", NULL, "20936 (Simplified Chinese GB2312)" },
108 	{ 21025, 0, 0, 1, "cp1025", NULL, "21025 (IBM EBCDIC - Cyrillic (Serbian, Bulgarian))" },
109 	{ 21866, 0, 0, 1, "koi8-u", "KOI8-U", "21866 (Ukrainian - KOI8-U)" },
110 	{ 28591, 0, 0, 1, "iso-8859-1", "CP819|IBM819|ISO-8859-1|ISO-IR-100|ISO8859-1|ISO_8859-1|ISO_8859-1:1987|L1|LATIN1|CSISOLATIN1", "28591 (ISO 8859-1 Latin I)" },
111 	{ 28592, 0, 0, 1, "iso-8859-2", "ISO-8859-2|ISO-IR-101|ISO8859-2|ISO_8859-2|ISO_8859-2:1987|L2|LATIN2|CSISOLATIN2", "28592 (ISO 8859-2 Central Europe)" },
112 	{ 28593, 0, 0, 1, "iso-8859-3", "ISO-8859-3|ISO-IR-109|ISO8859-3|ISO_8859-3|ISO_8859-3:1988|L3|LATIN3|CSISOLATIN3", "28593 (ISO 8859-3 Latin 3)" },
113 	{ 28594, 0, 0, 1, "iso-8859-4", "ISO-8859-4|ISO-IR-110|ISO8859-4|ISO_8859-4|ISO_8859-4:1988|L4|LATIN4|CSISOLATIN4", "28594 (ISO 8859-4 Baltic)" },
114 	{ 28595, 0, 0, 1, "iso-8859-5", "CYRILLIC|ISO-8859-5|ISO-IR-144|ISO8859-5|ISO_8859-5|ISO_8859-5:1988|CSISOLATINCYRILLIC", "28595 (ISO 8859-5 Cyrillic)" },
115 	{ 28596, 0, 0, 1, "iso-8859-6", "ARABIC|ASMO-708|ECMA-114|ISO-8859-6|ISO-IR-127|ISO8859-6|ISO_8859-6|ISO_8859-6:1987|CSISOLATINARABIC", "28596 (ISO 8859-6 Arabic)" },
116 	{ 28597, 0, 0, 1, "iso-8859-7", "ECMA-118|ELOT_928|GREEK|GREEK8|ISO-8859-7|ISO-IR-126|ISO8859-7|ISO_8859-7|ISO_8859-7:1987|ISO_8859-7:2003|CSISOLATINGREEK", "28597 (ISO 8859-7 Greek)" },
117 	{ 28598, 0, 0, 1, "iso-8859-8", "HEBREW|ISO-8859-8|ISO-IR-138|ISO8859-8|ISO_8859-8|ISO_8859-8:1988|CSISOLATINHEBREW", "28598 (ISO 8859-8 Hebrew: Visual Ordering)" },
118 	{ 28599, 0, 0, 1, "iso-8859-9", "ISO-8859-9|ISO-IR-148|ISO8859-9|ISO_8859-9|ISO_8859-9:1989|L5|LATIN5|CSISOLATIN5", "28599 (ISO 8859-9 Latin 5)" },
119 	{ 28603, 0, 0, 1, "iso-8859-13", "ISO-8859-13|ISO-IR-179|ISO8859-13|ISO_8859-13|L7|LATIN7", "28603 (ISO 8859-13 Latin 7)" },
120 	{ 28605, 0, 0, 1, "iso-8859-15", "ISO-8859-15|ISO-IR-203|ISO8859-15|ISO_8859-15|ISO_8859-15:1998|LATIN-9", "28605 (ISO 8859-15 Latin 9)" },
121 	/* 29001 is invalid */
122 	{ 38598, 0, 0, 1, "iso-8859-8-i", NULL, "38598 (ISO 8859-8 Hebrew: Logical Ordering)" },
123 	{ 50220, 0, 0, 5, "iso-2022-jp", "CP50220", "50220 (ISO-2022 Japanese with no halfwidth Katakana)" },
124 	{ 50221, 0, 0, 5, "csISO2022JP", "CP50221", "50221 (ISO-2022 Japanese with halfwidth Katakana)" },
125 	{ 50222, 0, 0, 5, "iso-2022-jp", "ISO-2022-JP|CP50222", "50222 (ISO-2022 Japanese JIS X 0201-1989)" },
126 	{ 50225, 0, 0, 5, "iso-2022-kr", "ISO-2022-KR|CSISO2022KR", "50225 (ISO-2022 Korean)" },
127 	{ 50227, 0, 0, 5, "x-cp50227", NULL, "50227 (ISO-2022 Simplified Chinese)" },
128 	{ 50229, 0, 0, 5, "x-cp50229", NULL, "50229 (ISO-2022 Traditional Chinese)" },
129 	/* 50930 is invalid */
130 	/* 50931 is invalid */
131 	/* 50933 is invalid */
132 	/* 50935 is invalid */
133 	/* 50936 is invalid */
134 	/* 50937 is invalid */
135 	/* 50939 is invalid */
136 	/* 51932 is invalid */
137 	/* 51936 is invalid */
138 	{ 51949, 0, 0, 2, "euc-kr", "EUC-KR|EUCKR|CSEUCKR", "51949 (EUC-Korean)" },
139 	/* 51950 is invalid */
140 	{ 52936, 0, 0, 5, "hz-gb-2312", "HZ|HZ-GB-2312", "52936 (HZ-GB2312 Simplified Chinese)" },
141 	{ 54936, 8, 128, 4, "GB18030", "GB18030|CSGB18030", "54936 (GB18030 Simplified Chinese)" },
142 	{ 57002, 0, 0, 4, "x-iscii-de", NULL, "57002 (ISCII - Devanagari)" },
143 	{ 57003, 0, 0, 4, "x-iscii-be", NULL, "57003 (ISCII - Bengali)" },
144 	{ 57004, 0, 0, 4, "x-iscii-ta", NULL, "57004 (ISCII - Tamil)" },
145 	{ 57005, 0, 0, 4, "x-iscii-te", NULL, "57005 (ISCII - Telugu)" },
146 	{ 57006, 0, 0, 4, "x-iscii-as", NULL, "57006 (ISCII - Assamese)" },
147 	{ 57007, 0, 0, 4, "x-iscii-or", NULL, "57007 (ISCII - Odia (Oriya))" },
148 	{ 57008, 0, 0, 4, "x-iscii-ka", NULL, "57008 (ISCII - Kannada)" },
149 	{ 57009, 0, 0, 4, "x-iscii-ma", NULL, "57009 (ISCII - Malayalam)" },
150 	{ 57010, 0, 0, 4, "x-iscii-gu", NULL, "57010 (ISCII - Gujarati)" },
151 	{ 57011, 0, 0, 4, "x-iscii-pa", NULL, "57011 (ISCII - Punjabi (Gurmukhi))" },
152 	{ 65000, 0, 0, 5, "utf-7", "UTF-7", "65000 (UTF-7)" },
153 	{ 65001, 8, 128, 4, "utf-8", "UTF-8", "65001 (UTF-8)" },
154 };
155 
156