1 /* ctype table definitions for Windows codepage charsets.
2 Included by ctype_.c. */
4 #define _CTYPE_CP437_128_254 \
5 _U, _L, _L, _L, _L, _L, _L, _L, \
6 _L, _L, _L, _L, _L, _L, _U, _U, \
7 _U, _L, _U, _L, _L, _L, _L, _L, \
8 _L, _U, _U, _P, _P, _P, _P, _P, \
9 _L, _L, _L, _L, _L, _L, _P, _P, \
10 _P, _P, _P, _P, _P, _P, _P, _P, \
11 _P, _P, _P, _P, _P, _P, _P, _P, \
12 _P, _P, _P, _P, _P, _P, _P, _P, \
13 _P, _P, _P, _P, _P, _P, _P, _P, \
14 _P, _P, _P, _P, _P, _P, _P, _P, \
15 _P, _P, _P, _P, _P, _P, _P, _P, \
16 _P, _P, _P, _P, _P, _P, _P, _P, \
17 _L, _L, _U, _L, _U, _L, _P, _L, \
18 _U, _U, _U, _L, _P, _L, _L, _P, \
19 _P, _P, _P, _P, _P, _P, _P, _P, \
20 _P, _P, _P, _P, _P, _P, _P
21 #define _CTYPE_CP437_255 _S|_B
22 #define _CTYPE_CP720_128_254 \
23 0, 0, _L, _L, 0, _L, 0, _L, \
24 _L, _L, _L, _L, _L, 0, 0, 0, \
25 0, _P, _P, _L, _P, _P, _L, _L, \
26 _U|_L, _U|_L, _U|_L, _U|_L, _P, _U|_L, _U|_L, _U|_L, \
27 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
28 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _P, _P, \
29 _P, _P, _P, _P, _P, _P, _P, _P, \
30 _P, _P, _P, _P, _P, _P, _P, _P, \
31 _P, _P, _P, _P, _P, _P, _P, _P, \
32 _P, _P, _P, _P, _P, _P, _P, _P, \
33 _P, _P, _P, _P, _P, _P, _P, _P, \
34 _P, _P, _P, _P, _P, _P, _P, _P, \
35 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _P, _U|_L, \
36 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
37 _P, _P, _P, _P, _P, _P, _P, _P, \
38 _P, _P, _P, _P, _P, _P, _P
39 #define _CTYPE_CP720_255 _S|_B
40 #define _CTYPE_CP737_128_254 \
41 _U, _U, _U, _U, _U, _U, _U, _U, \
42 _U, _U, _U, _U, _U, _U, _U, _U, \
43 _U, _U, _U, _U, _U, _U, _U, _U, \
44 _L, _L, _L, _L, _L, _L, _L, _L, \
45 _L, _L, _L, _L, _L, _L, _L, _L, \
46 _L, _L, _L, _L, _L, _L, _L, _L, \
47 _P, _P, _P, _P, _P, _P, _P, _P, \
48 _P, _P, _P, _P, _P, _P, _P, _P, \
49 _P, _P, _P, _P, _P, _P, _P, _P, \
50 _P, _P, _P, _P, _P, _P, _P, _P, \
51 _P, _P, _P, _P, _P, _P, _P, _P, \
52 _P, _P, _P, _P, _P, _P, _P, _P, \
53 _L, _L, _L, _L, _L, _L, _L, _L, \
54 _L, _L, _U, _U, _U, _U, _U, _U, \
55 _U, _P, _P, _P, _U, _U, _P, _P, \
56 _P, _P, _P, _P, _P, _P, _P
57 #define _CTYPE_CP737_255 _S|_B
58 #define _CTYPE_CP775_128_254 \
59 _U, _L, _L, _L, _L, _L, _L, _L, \
60 _L, _L, _U, _L, _L, _U, _U, _U, \
61 _U, _L, _U, _L, _L, _U, _P, _U, \
62 _L, _U, _U, _L, _P, _U, _P, _P, \
63 _U, _U, _L, _U, _L, _L, _P, _P, \
64 _P, _P, _P, _P, _P, _U, _P, _P, \
65 _P, _P, _P, _P, _P, _U, _U, _U, \
66 _U, _P, _P, _P, _P, _U, _U, _P, \
67 _P, _P, _P, _P, _P, _P, _U, _U, \
68 _P, _P, _P, _P, _P, _P, _P, _U, \
69 _L, _L, _L, _L, _L, _L, _L, _L, \
70 _L, _P, _P, _P, _P, _P, _P, _P, \
71 _U, _L, _U, _U, _L, _U, _P, _L, \
72 _U, _L, _U, _L, _L, _U, _U, _P, \
73 _P, _P, _P, _P, _P, _P, _P, _P, \
74 _P, _P, _P, _P, _P, _P, _P
75 #define _CTYPE_CP775_255 _S|_B
76 #define _CTYPE_CP850_128_254 \
77 _U, _L, _L, _L, _L, _L, _L, _L, \
78 _L, _L, _L, _L, _L, _L, _U, _U, \
79 _U, _L, _U, _L, _L, _L, _L, _L, \
80 _L, _U, _U, _L, _P, _U, _P, _L, \
81 _L, _L, _L, _L, _L, _U, _P, _P, \
82 _P, _P, _P, _P, _P, _P, _P, _P, \
83 _P, _P, _P, _P, _P, _U, _U, _U, \
84 _P, _P, _P, _P, _P, _P, _P, _P, \
85 _P, _P, _P, _P, _P, _P, _L, _U, \
86 _P, _P, _P, _P, _P, _P, _P, _P, \
87 _L, _U, _U, _U, _U, _L, _U, _U, \
88 _U, _P, _P, _P, _P, _P, _U, _P, \
89 _U, _L, _U, _U, _L, _U, _P, _L, \
90 _U, _U, _U, _U, _L, _U, _P, _P, \
91 _P, _P, _P, _P, _P, _P, _P, _P, \
92 _P, _P, _P, _P, _P, _P, _P
93 #define _CTYPE_CP850_255 _S|_B
94 #define _CTYPE_CP852_128_254 \
95 _U, _L, _L, _L, _L, _L, _L, _L, \
96 _L, _L, _U, _L, _L, _U, _U, _U, \
97 _U, _U, _L, _L, _L, _U, _L, _U, \
98 _L, _U, _U, _U, _L, _U, _P, _L, \
99 _L, _L, _L, _L, _U, _L, _U, _L, \
100 _U, _L, _P, _L, _U, _L, _P, _P, \
101 _P, _P, _P, _P, _P, _U, _U, _U, \
102 _U, _P, _P, _P, _P, _U, _L, _P, \
103 _P, _P, _P, _P, _P, _P, _U, _L, \
104 _P, _P, _P, _P, _P, _P, _P, _P, \
105 _L, _U, _U, _U, _L, _U, _U, _U, \
106 _L, _P, _P, _P, _P, _U, _U, _P, \
107 _U, _L, _U, _U, _L, _L, _U, _L, \
108 _U, _U, _L, _U, _L, _U, _L, _P, \
109 _P, _P, _P, _P, _P, _P, _P, _P, \
110 _P, _P, _P, _L, _U, _L, _P
111 #define _CTYPE_CP852_255 _S|_B
112 #define _CTYPE_CP855_128_254 \
113 _L, _U, _L, _U, _L, _U, _L, _U, \
114 _L, _U, _L, _U, _L, _U, _L, _U, \
115 _L, _U, _L, _U, _L, _U, _L, _U, \
116 _L, _U, _L, _U, _L, _U, _L, _U, \
117 _L, _U, _L, _U, _L, _U, _L, _U, \
118 _L, _U, _L, _U, _L, _U, _P, _P, \
119 _P, _P, _P, _P, _P, _L, _U, _L, \
120 _U, _P, _P, _P, _P, _L, _U, _P, \
121 _P, _P, _P, _P, _P, _P, _L, _U, \
122 _P, _P, _P, _P, _P, _P, _P, _P, \
123 _L, _U, _L, _U, _L, _U, _L, _U, \
124 _L, _P, _P, _P, _P, _U, _L, _P, \
125 _U, _L, _U, _L, _U, _L, _U, _L, \
126 _U, _L, _U, _L, _U, _L, _U, _P, \
127 _P, _L, _U, _L, _U, _L, _U, _L, \
128 _U, _L, _U, _L, _U, _P, _P
129 #define _CTYPE_CP855_255 _S|_B
130 #define _CTYPE_CP857_128_254 \
131 _U, _L, _L, _L, _L, _L, _L, _L, \
132 _L, _L, _L, _L, _L, _L, _U, _U, \
133 _U, _L, _U, _L, _L, _L, _L, _L, \
134 _U, _U, _U, _L, _P, _U, _U, _L, \
135 _L, _L, _L, _L, _L, _U, _U, _L, \
136 _P, _P, _P, _P, _P, _P, _P, _P, \
137 _P, _P, _P, _P, _U, _U, _U, _P, \
138 _P, _P, _P, _P, _P, _P, _P, _P, \
139 _P, _P, _P, _P, _P, _P, _L, _U, \
140 _P, _P, _P, _P, _P, _P, _P, _P, \
141 _P, _P, _U, _U, _U, 0, _U, _U, \
142 _U, _P, _P, _P, _P, _P, _U, _P, \
143 _U, _L, _U, _U, _L, _U, _P, 0, \
144 _P, _U, _U, _U, _L, _L, _P, _P, \
145 _P, _P, 0, _P, _P, _P, _P, _P, \
146 _P, _P, _P, _P, _P, _P, _P
147 #define _CTYPE_CP857_255 _S|_B
148 #define _CTYPE_CP858_128_254 \
149 _U, _L, _L, _L, _L, _L, _L, _L, \
150 _L, _L, _L, _L, _L, _L, _U, _U, \
151 _U, _L, _U, _L, _L, _L, _L, _L, \
152 _L, _U, _U, _L, _P, _U, _P, _L, \
153 _L, _L, _L, _L, _L, _U, _P, _P, \
154 _P, _P, _P, _P, _P, _P, _P, _P, \
155 _P, _P, _P, _P, _P, _U, _U, _U, \
156 _P, _P, _P, _P, _P, _P, _P, _P, \
157 _P, _P, _P, _P, _P, _P, _L, _U, \
158 _P, _P, _P, _P, _P, _P, _P, _P, \
159 _L, _U, _U, _U, _U, _P, _U, _U, \
160 _U, _P, _P, _P, _P, _P, _U, _P, \
161 _U, _L, _U, _U, _L, _U, _P, _L, \
162 _U, _U, _U, _U, _L, _U, _P, _P, \
163 _P, _P, _P, _P, _P, _P, _P, _P, \
164 _P, _P, _P, _P, _P, _P, _P
165 #define _CTYPE_CP858_255 _S|_B
166 #define _CTYPE_CP862_128_254 \
167 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
168 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
169 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
170 _U|_L, _U|_L, _U|_L, _P, _P, _P, _P, _L, \
171 _L, _L, _L, _L, _L, _U, _P, _P, \
172 _P, _P, _P, _P, _P, _P, _P, _P, \
173 _P, _P, _P, _P, _P, _P, _P, _P, \
174 _P, _P, _P, _P, _P, _P, _P, _P, \
175 _P, _P, _P, _P, _P, _P, _P, _P, \
176 _P, _P, _P, _P, _P, _P, _P, _P, \
177 _P, _P, _P, _P, _P, _P, _P, _P, \
178 _P, _P, _P, _P, _P, _P, _P, _P, \
179 _L, _L, _U, _L, _U, _L, _P, _L, \
180 _U, _U, _U, _L, _P, _L, _L, _P, \
181 _P, _P, _P, _P, _P, _P, _P, _P, \
182 _P, _P, _P, _P, _P, _P, _P
183 #define _CTYPE_CP862_255 _S|_B
184 #define _CTYPE_CP866_128_254 \
185 _U, _U, _U, _U, _U, _U, _U, _U, \
186 _U, _U, _U, _U, _U, _U, _U, _U, \
187 _U, _U, _U, _U, _U, _U, _U, _U, \
188 _U, _U, _U, _U, _U, _U, _U, _U, \
189 _L, _L, _L, _L, _L, _L, _L, _L, \
190 _L, _L, _L, _L, _L, _L, _L, _L, \
191 _P, _P, _P, _P, _P, _P, _P, _P, \
192 _P, _P, _P, _P, _P, _P, _P, _P, \
193 _P, _P, _P, _P, _P, _P, _P, _P, \
194 _P, _P, _P, _P, _P, _P, _P, _P, \
195 _P, _P, _P, _P, _P, _P, _P, _P, \
196 _P, _P, _P, _P, _P, _P, _P, _P, \
197 _L, _L, _L, _L, _L, _L, _L, _L, \
198 _L, _L, _L, _L, _L, _L, _L, _L, \
199 _U, _L, _U, _L, _U, _L, _U, _L, \
200 _P, _P, _P, _P, _P, _P, _P
201 #define _CTYPE_CP866_255 _S|_B
202 #define _CTYPE_CP874_128_254 \
203 _P, 0, 0, 0, 0, _P, 0, 0, \
204 0, 0, 0, 0, 0, 0, 0, 0, \
205 0, _P, _P, _P, _P, _P, _P, _P, \
206 0, 0, 0, 0, 0, 0, 0, 0, \
207 _S|_B, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
208 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
209 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
210 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
211 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
212 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
213 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
214 _U|_L, _U|_L, _U|_L, 0, 0, 0, 0, _P, \
215 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
216 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
217 _P, _P, _P, _P, _P, _P, _P, _P, \
218 _P, _P, _U|_L, _U|_L, 0, 0, 0
219 #define _CTYPE_CP874_255 0
220 #define _CTYPE_CP1125_128_254 \
221 _U, _U, _U, _U, _U, _U, _U, _U, \
222 _U, _U, _U, _U, _U, _U, _U, _U, \
223 _U, _U, _U, _U, _U, _U, _U, _U, \
224 _U, _U, _U, _U, _U, _U, _U, _U, \
225 _L, _L, _L, _L, _L, _L, _L, _L, \
226 _L, _L, _L, _L, _L, _L, _L, _L, \
227 _P, _P, _P, _P, _P, _P, _P, _P, \
228 _P, _P, _P, _P, _P, _P, _P, _P, \
229 _P, _P, _P, _P, _P, _P, _P, _P, \
230 _P, _P, _P, _P, _P, _P, _P, _P, \
231 _P, _P, _P, _P, _P, _P, _P, _P, \
232 _P, _P, _P, _P, _P, _P, _P, _P, \
233 _L, _L, _L, _L, _L, _L, _L, _L, \
234 _L, _L, _L, _L, _L, _L, _L, _L, \
235 _U, _L, _U, _L, _U, _L, _U, _L, \
236 _U, _L, _P, _P, _P, _P, _P
237 #define _CTYPE_CP1125_255 _S|_B
238 #define _CTYPE_CP1250_128_254 \
239 _P, 0, _P, 0, _P, _P, _P, _P, \
240 0, _P, _U, _P, _U, _U, _U, _U, \
241 0, _P, _P, _P, _P, _P, _P, _P, \
242 0, _P, _L, _P, _L, _L, _L, _L, \
243 _S|_B, _P, _P, _U, _P, _U, _P, _P, \
244 _P, _P, _U, _P, _P, _P, _P, _U, \
245 _P, _P, _P, _L, _P, _P, _P, _P, \
246 _P, _L, _L, _P, _U, _P, _L, _L, \
247 _U, _U, _U, _U, _U, _U, _U, _U, \
248 _U, _U, _U, _U, _U, _U, _U, _U, \
249 _U, _U, _U, _U, _U, _U, _U, _P, \
250 _U, _U, _U, _U, _U, _U, _U, _L, \
251 _L, _L, _L, _L, _L, _L, _L, _L, \
252 _L, _L, _L, _L, _L, _L, _L, _L, \
253 _L, _L, _L, _L, _L, _L, _L, _P, \
254 _L, _L, _L, _L, _L, _L, _L
255 #define _CTYPE_CP1250_255 _P
256 #define _CTYPE_CP1251_128_254 \
257 _U, _U, _P, _L, _P, _P, _P, _P, \
258 _P, _P, _U, _P, _U, _U, _U, _U, \
259 _L, _P, _P, _P, _P, _P, _P, _P, \
260 0, _P, _L, _P, _L, _L, _L, _L, \
261 _S|_B, _U, _L, _U, _P, _U, _P, _P, \
262 _U, _P, _U, _P, _P, _P, _P, _U, \
263 _P, _P, _U, _L, _L, _P, _P, _P, \
264 _L, _P, _L, _P, _L, _U, _L, _L, \
265 _U, _U, _U, _U, _U, _U, _U, _U, \
266 _U, _U, _U, _U, _U, _U, _U, _U, \
267 _U, _U, _U, _U, _U, _U, _U, _U, \
268 _U, _U, _U, _U, _U, _U, _U, _U, \
269 _L, _L, _L, _L, _L, _L, _L, _L, \
270 _L, _L, _L, _L, _L, _L, _L, _L, \
271 _L, _L, _L, _L, _L, _L, _L, _L, \
272 _L, _L, _L, _L, _L, _L, _L
273 #define _CTYPE_CP1251_255 _L
274 #define _CTYPE_CP1252_128_254 \
275 _P, 0, _P, _L, _P, _P, _P, _P, \
276 _P, _P, _U, _P, _U, _U, 0, 0, \
277 0, _P, _P, _P, _P, _P, _P, _P, \
278 _P, _P, _L, _P, _L, 0, _L, _U, \
279 _S|_B, _P, _P, _P, _P, _P, _P, _P, \
280 _P, _P, _P, _P, _P, _P, _P, _P, \
281 _P, _P, _P, _P, _P, _P, _P, _P, \
282 _P, _P, _P, _P, _P, _P, _P, _P, \
283 _U, _U, _U, _U, _U, _U, _U, _U, \
284 _U, _U, _U, _U, _U, _U, _U, _U, \
285 _U, _U, _U, _U, _U, _U, _U, _P, \
286 _U, _U, _U, _U, _U, _U, _U, _L, \
287 _L, _L, _L, _L, _L, _L, _L, _L, \
288 _L, _L, _L, _L, _L, _L, _L, _L, \
289 _L, _L, _L, _L, _L, _L, _L, _P, \
290 _L, _L, _L, _L, _L, _L, _L
291 #define _CTYPE_CP1252_255 _L
292 #define _CTYPE_CP1253_128_254 \
293 _P, 0, _P, _L, _P, _P, _P, _P, \
294 0, _P, 0, _P, 0, 0, 0, 0, \
295 0, _P, _P, _P, _P, _P, _P, _P, \
296 0, _P, 0, _P, 0, 0, 0, 0, \
297 _S|_B, _P, _U, _P, _P, _P, _P, _P, \
298 _P, _P, 0, _P, _P, _P, _P, _P, \
299 _P, _P, _P, _P, _P, _P, _P, _P, \
300 _U, _U, _U, _P, _U, _P, _U, _U, \
301 _L, _U, _U, _U, _U, _U, _U, _U, \
302 _U, _U, _U, _U, _U, _U, _U, _U, \
303 _U, _U, _U, _U, _U, _U, _U, _U, \
304 _U, _U, _U, _U, _L, _L, _L, _L, \
305 _L, _L, _L, _L, _L, _L, _L, _L, \
306 _L, _L, _L, _L, _L, _L, _L, _L, \
307 _L, _L, _L, _L, _L, _L, _L, _L, \
308 _L, _L, _L, _L, _L, _L, _L
309 #define _CTYPE_CP1253_255 _L
310 #define _CTYPE_CP1254_128_254 \
311 _P, 0, _P, _L, _P, _P, _P, _P, \
312 _P, _P, _U, _P, _U, 0, 0, 0, \
313 0, _P, _P, _P, _P, _P, _P, _P, \
314 _P, _P, _L, _P, _L, 0, 0, _U, \
315 _S|_B, _P, _P, _P, _P, _P, _P, _P, \
316 _P, _P, _P, _P, _P, _P, _P, _P, \
317 _P, _P, _P, _P, _P, _P, _P, _P, \
318 _P, _P, _P, _P, _P, _P, _P, _P, \
319 _U, _U, _U, _U, _U, _U, _U, _U, \
320 _U, _U, _U, _U, _U, _U, _U, _U, \
321 _U, _U, _U, _U, _U, _U, _U, _P, \
322 _U, _U, _U, _U, _U, _U, _U, _L, \
323 _L, _L, _L, _L, _L, _L, _L, _L, \
324 _L, _L, _L, _L, _L, _L, _L, _L, \
325 _L, _L, _L, _L, _L, _L, _L, _P, \
326 _L, _L, _L, _L, _L, _L, _L
327 #define _CTYPE_CP1254_255 _L
328 #define _CTYPE_CP1255_128_254 \
329 _P, 0, _P, _L, _P, _P, _P, _P, \
330 _P, _P, 0, _P, 0, 0, 0, 0, \
331 0, _P, _P, _P, _P, _P, _P, _P, \
332 _P, _P, 0, _P, 0, 0, 0, 0, \
333 _S|_B, _P, _P, _P, _P, _P, _P, _P, \
334 _P, _P, _P, _P, _P, _P, _P, _P, \
335 _P, _P, _P, _P, _P, _P, _P, _P, \
336 _P, _P, _P, _P, _P, _P, _P, _P, \
337 _P, _P, _P, _P, _P, _P, _P, _P, \
338 _P, _P, _P, _P, _P, _P, _P, _P, \
339 _P, _P, _P, _P, _U|_L, _U|_L, _U|_L, _P, \
340 _P, 0, 0, 0, 0, 0, 0, 0, \
341 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
342 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
343 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
344 _U|_L, _U|_L, _U|_L, 0, 0, _P, _P
345 #define _CTYPE_CP1255_255 0
346 #define _CTYPE_CP1256_128_254 \
347 _P, _U|_L, _P, _L, _P, _P, _P, _P, \
348 _P, _P, _U|_L, _P, _U, _U|_L, _U|_L, _U|_L, \
349 _U|_L, _P, _P, _P, _P, _P, _P, _P, \
350 _U|_L, _P, _U|_L, _P, _L, _P, _P, _U|_L, \
351 _S|_B, _P, _P, _P, _P, _P, _P, _P, \
352 _P, _P, _U|_L, _P, _P, _P, _P, _P, \
353 _P, _P, _P, _P, _P, _P, _P, _P, \
354 _P, _P, _P, _P, _P, _P, _P, _P, \
355 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
356 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
357 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _P, \
358 _U|_L, _U|_L, _U|_L, _U|_L, _P, _U|_L, _U|_L, _U|_L, \
359 _L, _U|_L, _L, _U|_L, _U|_L, _U|_L, _U|_L, _L, \
360 _L, _L, _L, _L, _U|_L, _U|_L, _L, _L, \
361 _P, _P, _P, _P, _L, _P, _P, _P, \
362 _P, _L, _P, _L, _L, _P, _P
363 #define _CTYPE_CP1256_255 _U|_L
364 #define _CTYPE_CP1257_128_254 \
365 _P, 0, _P, 0, _P, _P, _P, _P, \
366 0, _P, 0, _P, 0, _P, _P, _P, \
367 0, _P, _P, _P, _P, _P, _P, _P, \
368 0, _P, 0, _P, 0, _P, _P, 0, \
369 _S|_B, 0, _P, _P, _P, 0, _P, _P, \
370 _U, _P, _U, _P, _P, _P, _P, _U, \
371 _P, _P, _P, _P, _P, _P, _P, _P, \
372 _L, _P, _L, _P, _P, _P, _P, _L, \
373 _U, _U, _U, _U, _U, _U, _U, _U, \
374 _U, _U, _U, _U, _U, _U, _U, _U, \
375 _U, _U, _U, _U, _U, _U, _U, _P, \
376 _U, _U, _U, _U, _U, _U, _U, _L, \
377 _L, _L, _L, _L, _L, _L, _L, _L, \
378 _L, _L, _L, _L, _L, _L, _L, _L, \
379 _L, _L, _L, _L, _L, _L, _L, _P, \
380 _L, _L, _L, _L, _L, _L, _L
381 #define _CTYPE_CP1257_255 _P
382 #define _CTYPE_CP1258_128_254 \
383 _P, 0, _P, _L, _P, _P, _P, _P, \
384 _P, _P, 0, _P, _U, 0, 0, 0, \
385 0, _P, _P, _P, _P, _P, _P, _P, \
386 _P, _P, 0, _P, _L, 0, 0, _U, \
387 _S|_B, _P, _P, _P, _P, _P, _P, _P, \
388 _P, _P, _P, _P, _P, _P, _P, _P, \
389 _P, _P, _P, _P, _P, _P, _P, _P, \
390 _P, _P, _P, _P, _P, _P, _P, _P, \
391 _U, _U, _U, _U, _U, _U, _U, _U, \
392 _U, _U, _U, _U, _P, _U, _U, _U, \
393 _U, _U, _P, _U, _U, _U, _U, _P, \
394 _U, _U, _U, _U, _U, _U, _P, _L, \
395 _L, _L, _L, _L, _L, _L, _L, _L, \
396 _L, _L, _L, _L, _P, _L, _L, _L, \
397 _L, _L, _P, _L, _L, _L, _L, _P, \
398 _L, _L, _L, _L, _L, _L, _P
399 #define _CTYPE_CP1258_255 _L
400 #define _CTYPE_CP20866_128_254 \
401 _P, _P, _P, _P, _P, _P, _P, _P, \
402 _P, _P, _P, _P, _P, _P, _P, _P, \
403 _P, _P, _P, _P, _P, _P, _P, _P, \
404 _P, _P, _S|_B, _P, _P, _P, _P, _P, \
405 _P, _P, _P, _L, _P, _P, _P, _P, \
406 _P, _P, _P, _P, _P, _P, _P, _P, \
407 _P, _P, _P, _U, _P, _P, _P, _P, \
408 _P, _P, _P, _P, _P, _P, _P, _P, \
409 _L, _L, _L, _L, _L, _L, _L, _L, \
410 _L, _L, _L, _L, _L, _L, _L, _L, \
411 _L, _L, _L, _L, _L, _L, _L, _L, \
412 _L, _L, _L, _L, _L, _L, _L, _L, \
413 _U, _U, _U, _U, _U, _U, _U, _U, \
414 _U, _U, _U, _U, _U, _U, _U, _U, \
415 _U, _U, _U, _U, _U, _U, _U, _U, \
416 _U, _U, _U, _U, _U, _U, _U
417 #define _CTYPE_CP20866_255 _U
418 #define _CTYPE_CP21866_128_254 \
419 _P, _P, _P, _P, _P, _P, _P, _P, \
420 _P, _P, _P, _P, _P, _P, _P, _P, \
421 _P, _P, _P, _P, _P, _P, _P, _P, \
422 _P, _P, _S|_B, _P, _P, _P, _P, _P, \
423 _P, _P, _P, _L, _L, _P, _L, _L, \
424 _P, _P, _P, _P, _P, _L, _P, _P, \
425 _P, _P, _P, _U, _U, _P, _U, _U, \
426 _P, _P, _P, _P, _P, _U, _P, _P, \
427 _L, _L, _L, _L, _L, _L, _L, _L, \
428 _L, _L, _L, _L, _L, _L, _L, _L, \
429 _L, _L, _L, _L, _L, _L, _L, _L, \
430 _L, _L, _L, _L, _L, _L, _L, _L, \
431 _U, _U, _U, _U, _U, _U, _U, _U, \
432 _U, _U, _U, _U, _U, _U, _U, _U, \
433 _U, _U, _U, _U, _U, _U, _U, _U, \
434 _U, _U, _U, _U, _U, _U, _U
435 #define _CTYPE_CP21866_255 _U
436 #define _CTYPE_GEORGIAN_PS_128_254 \
437 _P, 0, _P, _L, _P, _P, _P, _P, \
438 _P, _P, _U, _P, _U, _U, 0, 0, \
439 0, _P, _P, _P, _P, _P, _P, _P, \
440 _P, _P, _L, _P, _L, 0, _L, _U, \
441 _S|_B, _P, _P, _P, _P, _P, _P, _P, \
442 _P, _P, _P, _P, _P, _P, _P, _P, \
443 _P, _P, _P, _P, _P, _P, _P, _P, \
444 _P, _P, _P, _P, _P, _P, _P, _P, \
445 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
446 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
447 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
448 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
449 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _L, _L, \
450 _L, _L, _L, _L, _L, _L, _L, _L, \
451 _L, _L, _L, _L, _L, _L, _L, _P, \
452 _L, _L, _L, _L, _L, _L, _L
453 #define _CTYPE_GEORGIAN_PS_255 _L
454 #define _CTYPE_PT154_128_254 \
455 _U, _U, _U, _L, _P, _P, _U, _U, \
456 _U, _L, _U, _U, _U, _U, _U, _U, \
457 _L, _P, _P, _P, _P, _P, _P, _P, \
458 _L, _L, _L, _L, _L, _L, _L, _L, \
459 _S|_B, _U, _L, _U, _U, _U, _U, _P, \
460 _U, _P, _U, _P, _P, _L, _P, _U, \
461 _P, _L, _U, _L, _L, _L, _P, _P, \
462 _L, _P, _L, _P, _L, _U, _L, _L, \
463 _U, _U, _U, _U, _U, _U, _U, _U, \
464 _U, _U, _U, _U, _U, _U, _U, _U, \
465 _U, _U, _U, _U, _U, _U, _U, _U, \
466 _U, _U, _U, _U, _U, _U, _U, _U, \
467 _L, _L, _L, _L, _L, _L, _L, _L, \
468 _L, _L, _L, _L, _L, _L, _L, _L, \
469 _L, _L, _L, _L, _L, _L, _L, _L, \
470 _L, _L, _L, _L, _L, _L, _L
471 #define _CTYPE_PT154_255 _L
472 #define _CTYPE_CP103_128_254 \
473 _L, _L, _P, _U, _P, _P, _P, _P, \
474 0, _P, _L, _P, _U, _L, _U, 0, \
475 _U, _P, _P, _P, _P, _P, _P, _P, \
476 0, _P, 0, _P, 0, 0, 0, 0, \
477 0, _L, _U, _L, _P, _L, _P, _P, \
478 0, 0, 0, _P, _P, _P, _P, 0, \
479 _P, _P, _P, _U, 0, _U, _P, _P, \
480 0, _P, 0, _P, 0, 0, 0, _P, \
481 _L, _L, _L, _L, _L, _L, _L, _L, \
482 _L, _L, _L, _L, _L, _L, _L, _L, \
483 _L, _L, _L, _L, _L, _L, _L, _L, \
484 _L, _L, _L, _L, _L, _L, _L, _L, \
485 _U, _U, _U, _U, _U, _U, _U, _U, \
486 _U, _U, _U, _U, _U, _U, _U, _U, \
487 _U, _U, _U, _U, _U, _U, _U, _U, \
488 _U, _U, _U, _U, _U, _U, _U
489 #define _CTYPE_CP103_255 _U
491 #if defined(ALLOW_NEGATIVE_CTYPE_INDEX)
496 char __ctype_cp
[27][128 + 256] = {
497 { _CTYPE_CP437_128_254
,
500 _CTYPE_CP437_128_254
,
503 { _CTYPE_CP720_128_254
,
506 _CTYPE_CP720_128_254
,
509 { _CTYPE_CP737_128_254
,
512 _CTYPE_CP737_128_254
,
515 { _CTYPE_CP775_128_254
,
518 _CTYPE_CP775_128_254
,
521 { _CTYPE_CP850_128_254
,
524 _CTYPE_CP850_128_254
,
527 { _CTYPE_CP852_128_254
,
530 _CTYPE_CP852_128_254
,
533 { _CTYPE_CP855_128_254
,
536 _CTYPE_CP855_128_254
,
539 { _CTYPE_CP857_128_254
,
542 _CTYPE_CP857_128_254
,
545 { _CTYPE_CP858_128_254
,
548 _CTYPE_CP858_128_254
,
551 { _CTYPE_CP862_128_254
,
554 _CTYPE_CP862_128_254
,
557 { _CTYPE_CP866_128_254
,
560 _CTYPE_CP866_128_254
,
563 { _CTYPE_CP874_128_254
,
566 _CTYPE_CP874_128_254
,
569 { _CTYPE_CP1125_128_254
,
572 _CTYPE_CP1125_128_254
,
575 { _CTYPE_CP1250_128_254
,
578 _CTYPE_CP1250_128_254
,
581 { _CTYPE_CP1251_128_254
,
584 _CTYPE_CP1251_128_254
,
587 { _CTYPE_CP1252_128_254
,
590 _CTYPE_CP1252_128_254
,
593 { _CTYPE_CP1253_128_254
,
596 _CTYPE_CP1253_128_254
,
599 { _CTYPE_CP1254_128_254
,
602 _CTYPE_CP1254_128_254
,
605 { _CTYPE_CP1255_128_254
,
608 _CTYPE_CP1255_128_254
,
611 { _CTYPE_CP1256_128_254
,
614 _CTYPE_CP1256_128_254
,
617 { _CTYPE_CP1257_128_254
,
620 _CTYPE_CP1257_128_254
,
623 { _CTYPE_CP1258_128_254
,
626 _CTYPE_CP1258_128_254
,
629 { _CTYPE_CP20866_128_254
,
632 _CTYPE_CP20866_128_254
,
635 { _CTYPE_CP21866_128_254
,
638 _CTYPE_CP21866_128_254
,
641 { _CTYPE_GEORGIAN_PS_128_254
,
644 _CTYPE_GEORGIAN_PS_128_254
,
645 _CTYPE_GEORGIAN_PS_255
647 { _CTYPE_PT154_128_254
,
650 _CTYPE_PT154_128_254
,
653 { _CTYPE_CP103_128_254
,
656 _CTYPE_CP103_128_254
,
661 #else /* !defined(ALLOW_NEGATIVE_CTYPE_INDEX) */
663 static const char __ctype_cp
[27][1 + 256] = {
666 _CTYPE_CP437_128_254
,
671 _CTYPE_CP720_128_254
,
676 _CTYPE_CP737_128_254
,
681 _CTYPE_CP775_128_254
,
686 _CTYPE_CP850_128_254
,
691 _CTYPE_CP852_128_254
,
696 _CTYPE_CP855_128_254
,
701 _CTYPE_CP857_128_254
,
706 _CTYPE_CP858_128_254
,
711 _CTYPE_CP862_128_254
,
716 _CTYPE_CP866_128_254
,
721 _CTYPE_CP874_128_254
,
726 _CTYPE_CP1125_128_254
,
731 _CTYPE_CP1250_128_254
,
736 _CTYPE_CP1251_128_254
,
741 _CTYPE_CP1252_128_254
,
746 _CTYPE_CP1253_128_254
,
751 _CTYPE_CP1254_128_254
,
756 _CTYPE_CP1255_128_254
,
761 _CTYPE_CP1256_128_254
,
766 _CTYPE_CP1257_128_254
,
771 _CTYPE_CP1258_128_254
,
776 _CTYPE_CP20866_128_254
,
781 _CTYPE_CP21866_128_254
,
786 _CTYPE_GEORGIAN_PS_128_254
,
787 _CTYPE_GEORGIAN_PS_255
791 _CTYPE_PT154_128_254
,
796 _CTYPE_CP103_128_254
,
801 #endif /* ALLOW_NEGATIVE_CTYPE_INDEX */