1 /* 2 * Copyright (c) 2009 Corinna Vinschen <corinna@vinschen.de> 3 */ 4 /* ctype table definitions for Windows codepage charsets. 5 Included by ctype_.c. */ 6 7 #define _CTYPE_CP437_128_254 \ 8 _U, _L, _L, _L, _L, _L, _L, _L, \ 9 _L, _L, _L, _L, _L, _L, _U, _U, \ 10 _U, _L, _U, _L, _L, _L, _L, _L, \ 11 _L, _U, _U, _P, _P, _P, _P, _P, \ 12 _L, _L, _L, _L, _L, _L, _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 _P, _P, _P, _P, _P, _P, _P, _P, \ 18 _P, _P, _P, _P, _P, _P, _P, _P, \ 19 _P, _P, _P, _P, _P, _P, _P, _P, \ 20 _L, _L, _U, _L, _U, _L, _P, _L, \ 21 _U, _U, _U, _L, _P, _L, _L, _P, \ 22 _P, _P, _P, _P, _P, _P, _P, _P, \ 23 _P, _P, _P, _P, _P, _P, _P 24 #define _CTYPE_CP437_255 _S|_B 25 #define _CTYPE_CP720_128_254 \ 26 0, 0, _L, _L, 0, _L, 0, _L, \ 27 _L, _L, _L, _L, _L, 0, 0, 0, \ 28 0, _P, _P, _L, _P, _P, _L, _L, \ 29 _U|_L, _U|_L, _U|_L, _U|_L, _P, _U|_L, _U|_L, _U|_L, \ 30 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ 31 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _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 _P, _P, _P, _P, _P, _P, _P, _P, \ 36 _P, _P, _P, _P, _P, _P, _P, _P, \ 37 _P, _P, _P, _P, _P, _P, _P, _P, \ 38 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _P, _U|_L, \ 39 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ 40 _P, _P, _P, _P, _P, _P, _P, _P, \ 41 _P, _P, _P, _P, _P, _P, _P 42 #define _CTYPE_CP720_255 _S|_B 43 #define _CTYPE_CP737_128_254 \ 44 _U, _U, _U, _U, _U, _U, _U, _U, \ 45 _U, _U, _U, _U, _U, _U, _U, _U, \ 46 _U, _U, _U, _U, _U, _U, _U, _U, \ 47 _L, _L, _L, _L, _L, _L, _L, _L, \ 48 _L, _L, _L, _L, _L, _L, _L, _L, \ 49 _L, _L, _L, _L, _L, _L, _L, _L, \ 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 _P, _P, _P, _P, _P, _P, _P, _P, \ 54 _P, _P, _P, _P, _P, _P, _P, _P, \ 55 _P, _P, _P, _P, _P, _P, _P, _P, \ 56 _L, _L, _L, _L, _L, _L, _L, _L, \ 57 _L, _L, _U, _U, _U, _U, _U, _U, \ 58 _U, _P, _P, _P, _U, _U, _P, _P, \ 59 _P, _P, _P, _P, _P, _P, _P 60 #define _CTYPE_CP737_255 _S|_B 61 #define _CTYPE_CP775_128_254 \ 62 _U, _L, _L, _L, _L, _L, _L, _L, \ 63 _L, _L, _U, _L, _L, _U, _U, _U, \ 64 _U, _L, _U, _L, _L, _U, _P, _U, \ 65 _L, _U, _U, _L, _P, _U, _P, _P, \ 66 _U, _U, _L, _U, _L, _L, _P, _P, \ 67 _P, _P, _P, _P, _P, _U, _P, _P, \ 68 _P, _P, _P, _P, _P, _U, _U, _U, \ 69 _U, _P, _P, _P, _P, _U, _U, _P, \ 70 _P, _P, _P, _P, _P, _P, _U, _U, \ 71 _P, _P, _P, _P, _P, _P, _P, _U, \ 72 _L, _L, _L, _L, _L, _L, _L, _L, \ 73 _L, _P, _P, _P, _P, _P, _P, _P, \ 74 _U, _L, _U, _U, _L, _U, _P, _L, \ 75 _U, _L, _U, _L, _L, _U, _U, _P, \ 76 _P, _P, _P, _P, _P, _P, _P, _P, \ 77 _P, _P, _P, _P, _P, _P, _P 78 #define _CTYPE_CP775_255 _S|_B 79 #define _CTYPE_CP850_128_254 \ 80 _U, _L, _L, _L, _L, _L, _L, _L, \ 81 _L, _L, _L, _L, _L, _L, _U, _U, \ 82 _U, _L, _U, _L, _L, _L, _L, _L, \ 83 _L, _U, _U, _L, _P, _U, _P, _L, \ 84 _L, _L, _L, _L, _L, _U, _P, _P, \ 85 _P, _P, _P, _P, _P, _P, _P, _P, \ 86 _P, _P, _P, _P, _P, _U, _U, _U, \ 87 _P, _P, _P, _P, _P, _P, _P, _P, \ 88 _P, _P, _P, _P, _P, _P, _L, _U, \ 89 _P, _P, _P, _P, _P, _P, _P, _P, \ 90 _L, _U, _U, _U, _U, _L, _U, _U, \ 91 _U, _P, _P, _P, _P, _P, _U, _P, \ 92 _U, _L, _U, _U, _L, _U, _P, _L, \ 93 _U, _U, _U, _U, _L, _U, _P, _P, \ 94 _P, _P, _P, _P, _P, _P, _P, _P, \ 95 _P, _P, _P, _P, _P, _P, _P 96 #define _CTYPE_CP850_255 _S|_B 97 #define _CTYPE_CP852_128_254 \ 98 _U, _L, _L, _L, _L, _L, _L, _L, \ 99 _L, _L, _U, _L, _L, _U, _U, _U, \ 100 _U, _U, _L, _L, _L, _U, _L, _U, \ 101 _L, _U, _U, _U, _L, _U, _P, _L, \ 102 _L, _L, _L, _L, _U, _L, _U, _L, \ 103 _U, _L, _P, _L, _U, _L, _P, _P, \ 104 _P, _P, _P, _P, _P, _U, _U, _U, \ 105 _U, _P, _P, _P, _P, _U, _L, _P, \ 106 _P, _P, _P, _P, _P, _P, _U, _L, \ 107 _P, _P, _P, _P, _P, _P, _P, _P, \ 108 _L, _U, _U, _U, _L, _U, _U, _U, \ 109 _L, _P, _P, _P, _P, _U, _U, _P, \ 110 _U, _L, _U, _U, _L, _L, _U, _L, \ 111 _U, _U, _L, _U, _L, _U, _L, _P, \ 112 _P, _P, _P, _P, _P, _P, _P, _P, \ 113 _P, _P, _P, _L, _U, _L, _P 114 #define _CTYPE_CP852_255 _S|_B 115 #define _CTYPE_CP855_128_254 \ 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, _L, _U, \ 119 _L, _U, _L, _U, _L, _U, _L, _U, \ 120 _L, _U, _L, _U, _L, _U, _L, _U, \ 121 _L, _U, _L, _U, _L, _U, _P, _P, \ 122 _P, _P, _P, _P, _P, _L, _U, _L, \ 123 _U, _P, _P, _P, _P, _L, _U, _P, \ 124 _P, _P, _P, _P, _P, _P, _L, _U, \ 125 _P, _P, _P, _P, _P, _P, _P, _P, \ 126 _L, _U, _L, _U, _L, _U, _L, _U, \ 127 _L, _P, _P, _P, _P, _U, _L, _P, \ 128 _U, _L, _U, _L, _U, _L, _U, _L, \ 129 _U, _L, _U, _L, _U, _L, _U, _P, \ 130 _P, _L, _U, _L, _U, _L, _U, _L, \ 131 _U, _L, _U, _L, _U, _P, _P 132 #define _CTYPE_CP855_255 _S|_B 133 #define _CTYPE_CP857_128_254 \ 134 _U, _L, _L, _L, _L, _L, _L, _L, \ 135 _L, _L, _L, _L, _L, _L, _U, _U, \ 136 _U, _L, _U, _L, _L, _L, _L, _L, \ 137 _U, _U, _U, _L, _P, _U, _U, _L, \ 138 _L, _L, _L, _L, _L, _U, _U, _L, \ 139 _P, _P, _P, _P, _P, _P, _P, _P, \ 140 _P, _P, _P, _P, _U, _U, _U, _P, \ 141 _P, _P, _P, _P, _P, _P, _P, _P, \ 142 _P, _P, _P, _P, _P, _P, _L, _U, \ 143 _P, _P, _P, _P, _P, _P, _P, _P, \ 144 _P, _P, _U, _U, _U, 0, _U, _U, \ 145 _U, _P, _P, _P, _P, _P, _U, _P, \ 146 _U, _L, _U, _U, _L, _U, _P, 0, \ 147 _P, _U, _U, _U, _L, _L, _P, _P, \ 148 _P, _P, 0, _P, _P, _P, _P, _P, \ 149 _P, _P, _P, _P, _P, _P, _P 150 #define _CTYPE_CP857_255 _S|_B 151 #define _CTYPE_CP858_128_254 \ 152 _U, _L, _L, _L, _L, _L, _L, _L, \ 153 _L, _L, _L, _L, _L, _L, _U, _U, \ 154 _U, _L, _U, _L, _L, _L, _L, _L, \ 155 _L, _U, _U, _L, _P, _U, _P, _L, \ 156 _L, _L, _L, _L, _L, _U, _P, _P, \ 157 _P, _P, _P, _P, _P, _P, _P, _P, \ 158 _P, _P, _P, _P, _P, _U, _U, _U, \ 159 _P, _P, _P, _P, _P, _P, _P, _P, \ 160 _P, _P, _P, _P, _P, _P, _L, _U, \ 161 _P, _P, _P, _P, _P, _P, _P, _P, \ 162 _L, _U, _U, _U, _U, _P, _U, _U, \ 163 _U, _P, _P, _P, _P, _P, _U, _P, \ 164 _U, _L, _U, _U, _L, _U, _P, _L, \ 165 _U, _U, _U, _U, _L, _U, _P, _P, \ 166 _P, _P, _P, _P, _P, _P, _P, _P, \ 167 _P, _P, _P, _P, _P, _P, _P 168 #define _CTYPE_CP858_255 _S|_B 169 #define _CTYPE_CP862_128_254 \ 170 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ 171 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ 172 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ 173 _U|_L, _U|_L, _U|_L, _P, _P, _P, _P, _L, \ 174 _L, _L, _L, _L, _L, _U, _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 _P, _P, _P, _P, _P, _P, _P, _P, \ 180 _P, _P, _P, _P, _P, _P, _P, _P, \ 181 _P, _P, _P, _P, _P, _P, _P, _P, \ 182 _L, _L, _U, _L, _U, _L, _P, _L, \ 183 _U, _U, _U, _L, _P, _L, _L, _P, \ 184 _P, _P, _P, _P, _P, _P, _P, _P, \ 185 _P, _P, _P, _P, _P, _P, _P 186 #define _CTYPE_CP862_255 _S|_B 187 #define _CTYPE_CP866_128_254 \ 188 _U, _U, _U, _U, _U, _U, _U, _U, \ 189 _U, _U, _U, _U, _U, _U, _U, _U, \ 190 _U, _U, _U, _U, _U, _U, _U, _U, \ 191 _U, _U, _U, _U, _U, _U, _U, _U, \ 192 _L, _L, _L, _L, _L, _L, _L, _L, \ 193 _L, _L, _L, _L, _L, _L, _L, _L, \ 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 _P, _P, _P, _P, _P, _P, _P, _P, \ 198 _P, _P, _P, _P, _P, _P, _P, _P, \ 199 _P, _P, _P, _P, _P, _P, _P, _P, \ 200 _L, _L, _L, _L, _L, _L, _L, _L, \ 201 _L, _L, _L, _L, _L, _L, _L, _L, \ 202 _U, _L, _U, _L, _U, _L, _U, _L, \ 203 _P, _P, _P, _P, _P, _P, _P 204 #define _CTYPE_CP866_255 _S|_B 205 #define _CTYPE_CP874_128_254 \ 206 _P, 0, 0, 0, 0, _P, 0, 0, \ 207 0, 0, 0, 0, 0, 0, 0, 0, \ 208 0, _P, _P, _P, _P, _P, _P, _P, \ 209 0, 0, 0, 0, 0, 0, 0, 0, \ 210 _S|_B, _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, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ 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 _U|_L, _U|_L, _U|_L, 0, 0, 0, 0, _P, \ 218 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ 219 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ 220 _P, _P, _P, _P, _P, _P, _P, _P, \ 221 _P, _P, _U|_L, _U|_L, 0, 0, 0 222 #define _CTYPE_CP874_255 0 223 #define _CTYPE_CP1125_128_254 \ 224 _U, _U, _U, _U, _U, _U, _U, _U, \ 225 _U, _U, _U, _U, _U, _U, _U, _U, \ 226 _U, _U, _U, _U, _U, _U, _U, _U, \ 227 _U, _U, _U, _U, _U, _U, _U, _U, \ 228 _L, _L, _L, _L, _L, _L, _L, _L, \ 229 _L, _L, _L, _L, _L, _L, _L, _L, \ 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 _P, _P, _P, _P, _P, _P, _P, _P, \ 234 _P, _P, _P, _P, _P, _P, _P, _P, \ 235 _P, _P, _P, _P, _P, _P, _P, _P, \ 236 _L, _L, _L, _L, _L, _L, _L, _L, \ 237 _L, _L, _L, _L, _L, _L, _L, _L, \ 238 _U, _L, _U, _L, _U, _L, _U, _L, \ 239 _U, _L, _P, _P, _P, _P, _P 240 #define _CTYPE_CP1125_255 _S|_B 241 #define _CTYPE_CP1250_128_254 \ 242 _P, 0, _P, 0, _P, _P, _P, _P, \ 243 0, _P, _U, _P, _U, _U, _U, _U, \ 244 0, _P, _P, _P, _P, _P, _P, _P, \ 245 0, _P, _L, _P, _L, _L, _L, _L, \ 246 _S|_B, _P, _P, _U, _P, _U, _P, _P, \ 247 _P, _P, _U, _P, _P, _P, _P, _U, \ 248 _P, _P, _P, _L, _P, _P, _P, _P, \ 249 _P, _L, _L, _P, _U, _P, _L, _L, \ 250 _U, _U, _U, _U, _U, _U, _U, _U, \ 251 _U, _U, _U, _U, _U, _U, _U, _U, \ 252 _U, _U, _U, _U, _U, _U, _U, _P, \ 253 _U, _U, _U, _U, _U, _U, _U, _L, \ 254 _L, _L, _L, _L, _L, _L, _L, _L, \ 255 _L, _L, _L, _L, _L, _L, _L, _L, \ 256 _L, _L, _L, _L, _L, _L, _L, _P, \ 257 _L, _L, _L, _L, _L, _L, _L 258 #define _CTYPE_CP1250_255 _P 259 #define _CTYPE_CP1251_128_254 \ 260 _U, _U, _P, _L, _P, _P, _P, _P, \ 261 _P, _P, _U, _P, _U, _U, _U, _U, \ 262 _L, _P, _P, _P, _P, _P, _P, _P, \ 263 0, _P, _L, _P, _L, _L, _L, _L, \ 264 _S|_B, _U, _L, _U, _P, _U, _P, _P, \ 265 _U, _P, _U, _P, _P, _P, _P, _U, \ 266 _P, _P, _U, _L, _L, _P, _P, _P, \ 267 _L, _P, _L, _P, _L, _U, _L, _L, \ 268 _U, _U, _U, _U, _U, _U, _U, _U, \ 269 _U, _U, _U, _U, _U, _U, _U, _U, \ 270 _U, _U, _U, _U, _U, _U, _U, _U, \ 271 _U, _U, _U, _U, _U, _U, _U, _U, \ 272 _L, _L, _L, _L, _L, _L, _L, _L, \ 273 _L, _L, _L, _L, _L, _L, _L, _L, \ 274 _L, _L, _L, _L, _L, _L, _L, _L, \ 275 _L, _L, _L, _L, _L, _L, _L 276 #define _CTYPE_CP1251_255 _L 277 #define _CTYPE_CP1252_128_254 \ 278 _P, 0, _P, _L, _P, _P, _P, _P, \ 279 _P, _P, _U, _P, _U, _U, 0, 0, \ 280 0, _P, _P, _P, _P, _P, _P, _P, \ 281 _P, _P, _L, _P, _L, 0, _L, _U, \ 282 _S|_B, _P, _P, _P, _P, _P, _P, _P, \ 283 _P, _P, _P, _P, _P, _P, _P, _P, \ 284 _P, _P, _P, _P, _P, _P, _P, _P, \ 285 _P, _P, _P, _P, _P, _P, _P, _P, \ 286 _U, _U, _U, _U, _U, _U, _U, _U, \ 287 _U, _U, _U, _U, _U, _U, _U, _U, \ 288 _U, _U, _U, _U, _U, _U, _U, _P, \ 289 _U, _U, _U, _U, _U, _U, _U, _L, \ 290 _L, _L, _L, _L, _L, _L, _L, _L, \ 291 _L, _L, _L, _L, _L, _L, _L, _L, \ 292 _L, _L, _L, _L, _L, _L, _L, _P, \ 293 _L, _L, _L, _L, _L, _L, _L 294 #define _CTYPE_CP1252_255 _L 295 #define _CTYPE_CP1253_128_254 \ 296 _P, 0, _P, _L, _P, _P, _P, _P, \ 297 0, _P, 0, _P, 0, 0, 0, 0, \ 298 0, _P, _P, _P, _P, _P, _P, _P, \ 299 0, _P, 0, _P, 0, 0, 0, 0, \ 300 _S|_B, _P, _U, _P, _P, _P, _P, _P, \ 301 _P, _P, 0, _P, _P, _P, _P, _P, \ 302 _P, _P, _P, _P, _P, _P, _P, _P, \ 303 _U, _U, _U, _P, _U, _P, _U, _U, \ 304 _L, _U, _U, _U, _U, _U, _U, _U, \ 305 _U, _U, _U, _U, _U, _U, _U, _U, \ 306 _U, _U, _U, _U, _U, _U, _U, _U, \ 307 _U, _U, _U, _U, _L, _L, _L, _L, \ 308 _L, _L, _L, _L, _L, _L, _L, _L, \ 309 _L, _L, _L, _L, _L, _L, _L, _L, \ 310 _L, _L, _L, _L, _L, _L, _L, _L, \ 311 _L, _L, _L, _L, _L, _L, _L 312 #define _CTYPE_CP1253_255 _L 313 #define _CTYPE_CP1254_128_254 \ 314 _P, 0, _P, _L, _P, _P, _P, _P, \ 315 _P, _P, _U, _P, _U, 0, 0, 0, \ 316 0, _P, _P, _P, _P, _P, _P, _P, \ 317 _P, _P, _L, _P, _L, 0, 0, _U, \ 318 _S|_B, _P, _P, _P, _P, _P, _P, _P, \ 319 _P, _P, _P, _P, _P, _P, _P, _P, \ 320 _P, _P, _P, _P, _P, _P, _P, _P, \ 321 _P, _P, _P, _P, _P, _P, _P, _P, \ 322 _U, _U, _U, _U, _U, _U, _U, _U, \ 323 _U, _U, _U, _U, _U, _U, _U, _U, \ 324 _U, _U, _U, _U, _U, _U, _U, _P, \ 325 _U, _U, _U, _U, _U, _U, _U, _L, \ 326 _L, _L, _L, _L, _L, _L, _L, _L, \ 327 _L, _L, _L, _L, _L, _L, _L, _L, \ 328 _L, _L, _L, _L, _L, _L, _L, _P, \ 329 _L, _L, _L, _L, _L, _L, _L 330 #define _CTYPE_CP1254_255 _L 331 #define _CTYPE_CP1255_128_254 \ 332 _P, 0, _P, _L, _P, _P, _P, _P, \ 333 _P, _P, 0, _P, 0, 0, 0, 0, \ 334 0, _P, _P, _P, _P, _P, _P, _P, \ 335 _P, _P, 0, _P, 0, 0, 0, 0, \ 336 _S|_B, _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, _P, _P, _P, _P, \ 340 _P, _P, _P, _P, _P, _P, _P, _P, \ 341 _P, _P, _P, _P, _P, _P, _P, _P, \ 342 _P, _P, _P, _P, _U|_L, _U|_L, _U|_L, _P, \ 343 _P, 0, 0, 0, 0, 0, 0, 0, \ 344 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ 345 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ 346 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ 347 _U|_L, _U|_L, _U|_L, 0, 0, _P, _P 348 #define _CTYPE_CP1255_255 0 349 #define _CTYPE_CP1256_128_254 \ 350 _P, _U|_L, _P, _L, _P, _P, _P, _P, \ 351 _P, _P, _U|_L, _P, _U, _U|_L, _U|_L, _U|_L, \ 352 _U|_L, _P, _P, _P, _P, _P, _P, _P, \ 353 _U|_L, _P, _U|_L, _P, _L, _P, _P, _U|_L, \ 354 _S|_B, _P, _P, _P, _P, _P, _P, _P, \ 355 _P, _P, _U|_L, _P, _P, _P, _P, _P, \ 356 _P, _P, _P, _P, _P, _P, _P, _P, \ 357 _P, _P, _P, _P, _P, _P, _P, _P, \ 358 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ 359 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ 360 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _P, \ 361 _U|_L, _U|_L, _U|_L, _U|_L, _P, _U|_L, _U|_L, _U|_L, \ 362 _L, _U|_L, _L, _U|_L, _U|_L, _U|_L, _U|_L, _L, \ 363 _L, _L, _L, _L, _U|_L, _U|_L, _L, _L, \ 364 _P, _P, _P, _P, _L, _P, _P, _P, \ 365 _P, _L, _P, _L, _L, _P, _P 366 #define _CTYPE_CP1256_255 _U|_L 367 #define _CTYPE_CP1257_128_254 \ 368 _P, 0, _P, 0, _P, _P, _P, _P, \ 369 0, _P, 0, _P, 0, _P, _P, _P, \ 370 0, _P, _P, _P, _P, _P, _P, _P, \ 371 0, _P, 0, _P, 0, _P, _P, 0, \ 372 _S|_B, 0, _P, _P, _P, 0, _P, _P, \ 373 _U, _P, _U, _P, _P, _P, _P, _U, \ 374 _P, _P, _P, _P, _P, _P, _P, _P, \ 375 _L, _P, _L, _P, _P, _P, _P, _L, \ 376 _U, _U, _U, _U, _U, _U, _U, _U, \ 377 _U, _U, _U, _U, _U, _U, _U, _U, \ 378 _U, _U, _U, _U, _U, _U, _U, _P, \ 379 _U, _U, _U, _U, _U, _U, _U, _L, \ 380 _L, _L, _L, _L, _L, _L, _L, _L, \ 381 _L, _L, _L, _L, _L, _L, _L, _L, \ 382 _L, _L, _L, _L, _L, _L, _L, _P, \ 383 _L, _L, _L, _L, _L, _L, _L 384 #define _CTYPE_CP1257_255 _P 385 #define _CTYPE_CP1258_128_254 \ 386 _P, 0, _P, _L, _P, _P, _P, _P, \ 387 _P, _P, 0, _P, _U, 0, 0, 0, \ 388 0, _P, _P, _P, _P, _P, _P, _P, \ 389 _P, _P, 0, _P, _L, 0, 0, _U, \ 390 _S|_B, _P, _P, _P, _P, _P, _P, _P, \ 391 _P, _P, _P, _P, _P, _P, _P, _P, \ 392 _P, _P, _P, _P, _P, _P, _P, _P, \ 393 _P, _P, _P, _P, _P, _P, _P, _P, \ 394 _U, _U, _U, _U, _U, _U, _U, _U, \ 395 _U, _U, _U, _U, _P, _U, _U, _U, \ 396 _U, _U, _P, _U, _U, _U, _U, _P, \ 397 _U, _U, _U, _U, _U, _U, _P, _L, \ 398 _L, _L, _L, _L, _L, _L, _L, _L, \ 399 _L, _L, _L, _L, _P, _L, _L, _L, \ 400 _L, _L, _P, _L, _L, _L, _L, _P, \ 401 _L, _L, _L, _L, _L, _L, _P 402 #define _CTYPE_CP1258_255 _L 403 #define _CTYPE_CP20866_128_254 \ 404 _P, _P, _P, _P, _P, _P, _P, _P, \ 405 _P, _P, _P, _P, _P, _P, _P, _P, \ 406 _P, _P, _P, _P, _P, _P, _P, _P, \ 407 _P, _P, _S|_B, _P, _P, _P, _P, _P, \ 408 _P, _P, _P, _L, _P, _P, _P, _P, \ 409 _P, _P, _P, _P, _P, _P, _P, _P, \ 410 _P, _P, _P, _U, _P, _P, _P, _P, \ 411 _P, _P, _P, _P, _P, _P, _P, _P, \ 412 _L, _L, _L, _L, _L, _L, _L, _L, \ 413 _L, _L, _L, _L, _L, _L, _L, _L, \ 414 _L, _L, _L, _L, _L, _L, _L, _L, \ 415 _L, _L, _L, _L, _L, _L, _L, _L, \ 416 _U, _U, _U, _U, _U, _U, _U, _U, \ 417 _U, _U, _U, _U, _U, _U, _U, _U, \ 418 _U, _U, _U, _U, _U, _U, _U, _U, \ 419 _U, _U, _U, _U, _U, _U, _U 420 #define _CTYPE_CP20866_255 _U 421 #define _CTYPE_CP21866_128_254 \ 422 _P, _P, _P, _P, _P, _P, _P, _P, \ 423 _P, _P, _P, _P, _P, _P, _P, _P, \ 424 _P, _P, _P, _P, _P, _P, _P, _P, \ 425 _P, _P, _S|_B, _P, _P, _P, _P, _P, \ 426 _P, _P, _P, _L, _L, _P, _L, _L, \ 427 _P, _P, _P, _P, _P, _L, _P, _P, \ 428 _P, _P, _P, _U, _U, _P, _U, _U, \ 429 _P, _P, _P, _P, _P, _U, _P, _P, \ 430 _L, _L, _L, _L, _L, _L, _L, _L, \ 431 _L, _L, _L, _L, _L, _L, _L, _L, \ 432 _L, _L, _L, _L, _L, _L, _L, _L, \ 433 _L, _L, _L, _L, _L, _L, _L, _L, \ 434 _U, _U, _U, _U, _U, _U, _U, _U, \ 435 _U, _U, _U, _U, _U, _U, _U, _U, \ 436 _U, _U, _U, _U, _U, _U, _U, _U, \ 437 _U, _U, _U, _U, _U, _U, _U 438 #define _CTYPE_CP21866_255 _U 439 #define _CTYPE_GEORGIAN_PS_128_254 \ 440 _P, 0, _P, _L, _P, _P, _P, _P, \ 441 _P, _P, _U, _P, _U, _U, 0, 0, \ 442 0, _P, _P, _P, _P, _P, _P, _P, \ 443 _P, _P, _L, _P, _L, 0, _L, _U, \ 444 _S|_B, _P, _P, _P, _P, _P, _P, _P, \ 445 _P, _P, _P, _P, _P, _P, _P, _P, \ 446 _P, _P, _P, _P, _P, _P, _P, _P, \ 447 _P, _P, _P, _P, _P, _P, _P, _P, \ 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, _U|_L, _U|_L, \ 450 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ 451 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ 452 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _L, _L, \ 453 _L, _L, _L, _L, _L, _L, _L, _L, \ 454 _L, _L, _L, _L, _L, _L, _L, _P, \ 455 _L, _L, _L, _L, _L, _L, _L 456 #define _CTYPE_GEORGIAN_PS_255 _L 457 #define _CTYPE_PT154_128_254 \ 458 _U, _U, _U, _L, _P, _P, _U, _U, \ 459 _U, _L, _U, _U, _U, _U, _U, _U, \ 460 _L, _P, _P, _P, _P, _P, _P, _P, \ 461 _L, _L, _L, _L, _L, _L, _L, _L, \ 462 _S|_B, _U, _L, _U, _U, _U, _U, _P, \ 463 _U, _P, _U, _P, _P, _L, _P, _U, \ 464 _P, _L, _U, _L, _L, _L, _P, _P, \ 465 _L, _P, _L, _P, _L, _U, _L, _L, \ 466 _U, _U, _U, _U, _U, _U, _U, _U, \ 467 _U, _U, _U, _U, _U, _U, _U, _U, \ 468 _U, _U, _U, _U, _U, _U, _U, _U, \ 469 _U, _U, _U, _U, _U, _U, _U, _U, \ 470 _L, _L, _L, _L, _L, _L, _L, _L, \ 471 _L, _L, _L, _L, _L, _L, _L, _L, \ 472 _L, _L, _L, _L, _L, _L, _L, _L, \ 473 _L, _L, _L, _L, _L, _L, _L 474 #define _CTYPE_PT154_255 _L 475 #define _CTYPE_CP103_128_254 \ 476 _L, _L, _P, _U, _P, _P, _P, _P, \ 477 0, _P, _L, _P, _U, _L, _U, 0, \ 478 _U, _P, _P, _P, _P, _P, _P, _P, \ 479 0, _P, 0, _P, 0, 0, 0, 0, \ 480 0, _L, _U, _L, _P, _L, _P, _P, \ 481 0, 0, 0, _P, _P, _P, _P, 0, \ 482 _P, _P, _P, _U, 0, _U, _P, _P, \ 483 0, _P, 0, _P, 0, 0, 0, _P, \ 484 _L, _L, _L, _L, _L, _L, _L, _L, \ 485 _L, _L, _L, _L, _L, _L, _L, _L, \ 486 _L, _L, _L, _L, _L, _L, _L, _L, \ 487 _L, _L, _L, _L, _L, _L, _L, _L, \ 488 _U, _U, _U, _U, _U, _U, _U, _U, \ 489 _U, _U, _U, _U, _U, _U, _U, _U, \ 490 _U, _U, _U, _U, _U, _U, _U, _U, \ 491 _U, _U, _U, _U, _U, _U, _U 492 #define _CTYPE_CP103_255 _U 493 494 #if defined(ALLOW_NEGATIVE_CTYPE_INDEX) 495 496 #ifndef __CYGWIN__ 497 static const 498 #endif 499 char __ctype_cp[27][128 + 256] = { 500 { _CTYPE_CP437_128_254, 501 0, 502 _CTYPE_DATA_0_127, 503 _CTYPE_CP437_128_254, 504 _CTYPE_CP437_255 505 }, 506 { _CTYPE_CP720_128_254, 507 0, 508 _CTYPE_DATA_0_127, 509 _CTYPE_CP720_128_254, 510 _CTYPE_CP720_255 511 }, 512 { _CTYPE_CP737_128_254, 513 0, 514 _CTYPE_DATA_0_127, 515 _CTYPE_CP737_128_254, 516 _CTYPE_CP737_255 517 }, 518 { _CTYPE_CP775_128_254, 519 0, 520 _CTYPE_DATA_0_127, 521 _CTYPE_CP775_128_254, 522 _CTYPE_CP775_255 523 }, 524 { _CTYPE_CP850_128_254, 525 0, 526 _CTYPE_DATA_0_127, 527 _CTYPE_CP850_128_254, 528 _CTYPE_CP850_255 529 }, 530 { _CTYPE_CP852_128_254, 531 0, 532 _CTYPE_DATA_0_127, 533 _CTYPE_CP852_128_254, 534 _CTYPE_CP852_255 535 }, 536 { _CTYPE_CP855_128_254, 537 0, 538 _CTYPE_DATA_0_127, 539 _CTYPE_CP855_128_254, 540 _CTYPE_CP855_255 541 }, 542 { _CTYPE_CP857_128_254, 543 0, 544 _CTYPE_DATA_0_127, 545 _CTYPE_CP857_128_254, 546 _CTYPE_CP857_255 547 }, 548 { _CTYPE_CP858_128_254, 549 0, 550 _CTYPE_DATA_0_127, 551 _CTYPE_CP858_128_254, 552 _CTYPE_CP858_255 553 }, 554 { _CTYPE_CP862_128_254, 555 0, 556 _CTYPE_DATA_0_127, 557 _CTYPE_CP862_128_254, 558 _CTYPE_CP862_255 559 }, 560 { _CTYPE_CP866_128_254, 561 0, 562 _CTYPE_DATA_0_127, 563 _CTYPE_CP866_128_254, 564 _CTYPE_CP866_255 565 }, 566 { _CTYPE_CP874_128_254, 567 0, 568 _CTYPE_DATA_0_127, 569 _CTYPE_CP874_128_254, 570 _CTYPE_CP874_255 571 }, 572 { _CTYPE_CP1125_128_254, 573 0, 574 _CTYPE_DATA_0_127, 575 _CTYPE_CP1125_128_254, 576 _CTYPE_CP1125_255 577 }, 578 { _CTYPE_CP1250_128_254, 579 0, 580 _CTYPE_DATA_0_127, 581 _CTYPE_CP1250_128_254, 582 _CTYPE_CP1250_255 583 }, 584 { _CTYPE_CP1251_128_254, 585 0, 586 _CTYPE_DATA_0_127, 587 _CTYPE_CP1251_128_254, 588 _CTYPE_CP1251_255 589 }, 590 { _CTYPE_CP1252_128_254, 591 0, 592 _CTYPE_DATA_0_127, 593 _CTYPE_CP1252_128_254, 594 _CTYPE_CP1252_255 595 }, 596 { _CTYPE_CP1253_128_254, 597 0, 598 _CTYPE_DATA_0_127, 599 _CTYPE_CP1253_128_254, 600 _CTYPE_CP1253_255 601 }, 602 { _CTYPE_CP1254_128_254, 603 0, 604 _CTYPE_DATA_0_127, 605 _CTYPE_CP1254_128_254, 606 _CTYPE_CP1254_255 607 }, 608 { _CTYPE_CP1255_128_254, 609 0, 610 _CTYPE_DATA_0_127, 611 _CTYPE_CP1255_128_254, 612 _CTYPE_CP1255_255 613 }, 614 { _CTYPE_CP1256_128_254, 615 0, 616 _CTYPE_DATA_0_127, 617 _CTYPE_CP1256_128_254, 618 _CTYPE_CP1256_255 619 }, 620 { _CTYPE_CP1257_128_254, 621 0, 622 _CTYPE_DATA_0_127, 623 _CTYPE_CP1257_128_254, 624 _CTYPE_CP1257_255 625 }, 626 { _CTYPE_CP1258_128_254, 627 0, 628 _CTYPE_DATA_0_127, 629 _CTYPE_CP1258_128_254, 630 _CTYPE_CP1258_255 631 }, 632 { _CTYPE_CP20866_128_254, 633 0, 634 _CTYPE_DATA_0_127, 635 _CTYPE_CP20866_128_254, 636 _CTYPE_CP20866_255 637 }, 638 { _CTYPE_CP21866_128_254, 639 0, 640 _CTYPE_DATA_0_127, 641 _CTYPE_CP21866_128_254, 642 _CTYPE_CP21866_255 643 }, 644 { _CTYPE_GEORGIAN_PS_128_254, 645 0, 646 _CTYPE_DATA_0_127, 647 _CTYPE_GEORGIAN_PS_128_254, 648 _CTYPE_GEORGIAN_PS_255 649 }, 650 { _CTYPE_PT154_128_254, 651 0, 652 _CTYPE_DATA_0_127, 653 _CTYPE_PT154_128_254, 654 _CTYPE_PT154_255 655 }, 656 { _CTYPE_CP103_128_254, 657 0, 658 _CTYPE_DATA_0_127, 659 _CTYPE_CP103_128_254, 660 _CTYPE_CP103_255 661 }, 662 }; 663 664 #else /* !defined(ALLOW_NEGATIVE_CTYPE_INDEX) */ 665 666 static const char __ctype_cp[27][1 + 256] = { 667 { 0, 668 _CTYPE_DATA_0_127, 669 _CTYPE_CP437_128_254, 670 _CTYPE_CP437_255 671 }, 672 { 0, 673 _CTYPE_DATA_0_127, 674 _CTYPE_CP720_128_254, 675 _CTYPE_CP720_255 676 }, 677 { 0, 678 _CTYPE_DATA_0_127, 679 _CTYPE_CP737_128_254, 680 _CTYPE_CP737_255 681 }, 682 { 0, 683 _CTYPE_DATA_0_127, 684 _CTYPE_CP775_128_254, 685 _CTYPE_CP775_255 686 }, 687 { 0, 688 _CTYPE_DATA_0_127, 689 _CTYPE_CP850_128_254, 690 _CTYPE_CP850_255 691 }, 692 { 0, 693 _CTYPE_DATA_0_127, 694 _CTYPE_CP852_128_254, 695 _CTYPE_CP852_255 696 }, 697 { 0, 698 _CTYPE_DATA_0_127, 699 _CTYPE_CP855_128_254, 700 _CTYPE_CP855_255 701 }, 702 { 0, 703 _CTYPE_DATA_0_127, 704 _CTYPE_CP857_128_254, 705 _CTYPE_CP857_255 706 }, 707 { 0, 708 _CTYPE_DATA_0_127, 709 _CTYPE_CP858_128_254, 710 _CTYPE_CP858_255 711 }, 712 { 0, 713 _CTYPE_DATA_0_127, 714 _CTYPE_CP862_128_254, 715 _CTYPE_CP862_255 716 }, 717 { 0, 718 _CTYPE_DATA_0_127, 719 _CTYPE_CP866_128_254, 720 _CTYPE_CP866_255 721 }, 722 { 0, 723 _CTYPE_DATA_0_127, 724 _CTYPE_CP874_128_254, 725 _CTYPE_CP874_255 726 }, 727 { 0, 728 _CTYPE_DATA_0_127, 729 _CTYPE_CP1125_128_254, 730 _CTYPE_CP1125_255 731 }, 732 { 0, 733 _CTYPE_DATA_0_127, 734 _CTYPE_CP1250_128_254, 735 _CTYPE_CP1250_255 736 }, 737 { 0, 738 _CTYPE_DATA_0_127, 739 _CTYPE_CP1251_128_254, 740 _CTYPE_CP1251_255 741 }, 742 { 0, 743 _CTYPE_DATA_0_127, 744 _CTYPE_CP1252_128_254, 745 _CTYPE_CP1252_255 746 }, 747 { 0, 748 _CTYPE_DATA_0_127, 749 _CTYPE_CP1253_128_254, 750 _CTYPE_CP1253_255 751 }, 752 { 0, 753 _CTYPE_DATA_0_127, 754 _CTYPE_CP1254_128_254, 755 _CTYPE_CP1254_255 756 }, 757 { 0, 758 _CTYPE_DATA_0_127, 759 _CTYPE_CP1255_128_254, 760 _CTYPE_CP1255_255 761 }, 762 { 0, 763 _CTYPE_DATA_0_127, 764 _CTYPE_CP1256_128_254, 765 _CTYPE_CP1256_255 766 }, 767 { 0, 768 _CTYPE_DATA_0_127, 769 _CTYPE_CP1257_128_254, 770 _CTYPE_CP1257_255 771 }, 772 { 0, 773 _CTYPE_DATA_0_127, 774 _CTYPE_CP1258_128_254, 775 _CTYPE_CP1258_255 776 }, 777 { 0, 778 _CTYPE_DATA_0_127, 779 _CTYPE_CP20866_128_254, 780 _CTYPE_CP20866_255 781 }, 782 { 0, 783 _CTYPE_DATA_0_127, 784 _CTYPE_CP21866_128_254, 785 _CTYPE_CP21866_255 786 }, 787 { 0, 788 _CTYPE_DATA_0_127, 789 _CTYPE_GEORGIAN_PS_128_254, 790 _CTYPE_GEORGIAN_PS_255 791 }, 792 { 0, 793 _CTYPE_DATA_0_127, 794 _CTYPE_PT154_128_254, 795 _CTYPE_PT154_255 796 }, 797 { 0, 798 _CTYPE_DATA_0_127, 799 _CTYPE_CP103_128_254, 800 _CTYPE_CP103_255 801 }, 802 }; 803 804 #endif /* ALLOW_NEGATIVE_CTYPE_INDEX */ 805