FreeTDS API
Loading...
Searching...
No Matches
character_sets.h
1/*
2 * These are the canonical names for character sets accepted by GNU iconv.
3 * See its documentation for the standard it follows.
4 *
5 * GNU iconv accepts other character set names, too, and your favorite operating system
6 * very likely uses still other names to represent the _same_ character set.
7 *
8 * Alternative character set names are mapped to these canonical ones in
9 * alternative_character_sets.h and are accessed with canonical_charset();
10 */
11 {"ISO-8859-1", 1, 1}
12 , {"UTF-8", 1, 4}
13 , {"UCS-2LE", 2, 2}
14 , {"UCS-2BE", 2, 2}
15 , {"UCS-2", 2, 2}
16 , {"US-ASCII", 1, 1}
17 , {"UCS-4", 4, 4}
18 , {"UCS-4BE", 4, 4}
19 , {"UCS-4LE", 4, 4}
20 , {"UTF-16", 2, 4}
21 , {"UTF-16BE", 2, 4}
22 , {"UTF-16LE", 2, 4}
23 , {"UTF-32", 4, 4}
24 , {"UTF-32BE", 4, 4}
25 , {"UTF-32LE", 4, 4}
26 , {"UTF-7", 1, 4}
27 , {"UCS-2-INTERNAL", 2, 2}
28 , {"UCS-2-SWAPPED", 2, 2}
29 , {"UCS-4-INTERNAL", 4, 4}
30 , {"UCS-4-SWAPPED", 4, 4}
31 , {"C99", 1, 1}
32 , {"JAVA", 1, 1}
33 , {"ISO-8859-2", 1, 1}
34 , {"ISO-8859-3", 1, 1}
35 , {"ISO-8859-4", 1, 1}
36 , {"ISO-8859-5", 1, 1}
37 , {"ISO-8859-6", 1, 1}
38 , {"ISO-8859-7", 1, 1}
39 , {"ISO-8859-8", 1, 1}
40 , {"ISO-8859-9", 1, 1}
41 , {"ISO-8859-10", 1, 1}
42 , {"ISO-8859-13", 1, 1}
43 , {"ISO-8859-14", 1, 1}
44 , {"ISO-8859-15", 1, 1}
45 , {"ISO-8859-16", 1, 1}
46 , {"KOI8-R", 1, 1}
47 , {"KOI8-U", 1, 1}
48 , {"KOI8-RU", 1, 1}
49 , {"CP1250", 1, 1}
50 , {"CP1251", 1, 1}
51 , {"CP1252", 1, 1}
52 , {"CP1253", 1, 1}
53 , {"CP1254", 1, 1}
54 , {"CP1255", 1, 1}
55 , {"CP1256", 1, 1}
56 , {"CP1257", 1, 1}
57 , {"CP1258", 1, 1}
58 , {"CP850", 1, 1}
59 , {"CP862", 1, 1}
60 , {"CP866", 1, 1}
61 , {"CP437", 1, 1}
62 , {"MAC", 1, 1}
63 , {"MACCENTRALEUROPE", 1, 1}
64 , {"MACICELAND", 1, 1}
65 , {"MACCROATIAN", 1, 1}
66 , {"MACROMANIA", 1, 1}
67 , {"MACCYRILLIC", 1, 1}
68 , {"MACUKRAINE", 1, 1}
69 , {"MACGREEK", 1, 1}
70 , {"MACTURKISH", 1, 1}
71 , {"MACHEBREW", 1, 1}
72 , {"MACARABIC", 1, 1}
73 , {"MACTHAI", 1, 1}
74 , {"ROMAN8", 1, 1}
75 , {"NEXTSTEP", 1, 1}
76 , {"ARMSCII-8", 1, 1}
77 , {"GEORGIAN-ACADEMY", 1, 1}
78 , {"GEORGIAN-PS", 1, 1}
79 , {"KOI8-T", 1, 1}
80 , {"MULELAO-1", 1, 1}
81 , {"CP1133", 1, 1}
82 , {"ISO-IR-166", 1, 1}
83 , {"CP874", 1, 1}
84 , {"CP936", 1, 2}
85 , {"CN", 1, 1}
86 , {"CP932", 1, 2}
87 , {"CN-GB", 1, 2}
88 , {"CP950", 1, 2}
89 , {"CP949", 1, 2}
90 , {"CP1361", 1, 2}
91 , {"BIG-5", 1, 2}
92 , {"BIG5-HKSCS", 1, 2}
93 , {"SJIS", 1, 2}
94 , {"EUC-KR", 1, 2}
95 , {"VISCII", 1, 1}
96 , {"ISO-IR-14", 1, 1}
97 , {"EUC-JP", 1, 3}
98 , {"EUC-TW", 1, 4}
99 , {"ISO-2022-JP", 1, 1}
100 , {"ISO-2022-KR", 1, 2}
101 , {"ISO-2022-CN", 1, 4}
102 , {"ISO-2022-CN-EXT", 1, 4}
103 , {"ISO-2022-JP-2", 1, 1}
104 , {"GB18030", 1, 4}
105 /*
106 * Beyond this point, I don't know the right answers.
107 * If you can provide the correct min/max (byte/char) values, please
108 * correct them if necessary and move them above the stopper row.
109 * Will the person vetting the last unknown row please turn off the lights?
110 * --jkl April 2003
111 */
112 , {"", 0, 0} /* stopper row */
113
114 , {"TCVN", 1, 1}
115 , {"JISX0201-1976", 1, 1}
116 , {"ISO-IR-87", 1, 1}
117 , {"ISO-IR-159", 1, 1}
118 , {"CHINESE", 1, 1}
119 , {"CN-GB-ISOIR165", 1, 1}
120 , {"ISO-IR-149", 1, 1}
121 , {"ISO-2022-JP-1", 1, 1}
122 , {"HZ", 1, 1}
123 /* stopper row */
124 , {"", 0, 0}
125