1 /* $NetBSD: src/share/locale/ctype/ja_JP.eucJP.src,v 1.3 2004/05/13 09:57:03 tshiozak Exp $ */
2 /* @(#)Japanese 8.1 (Berkeley) 6/6/93 */
3 /* $DragonFly: src/share/locale/ctype/ja_JP.eucJP.src,v 1.1 2005/03/11 15:57:42 joerg Exp $ */
6 * Japanese LOCALE_CTYPE definitions using EUC of JIS character sets
12 /* 8859-1 X208 X201 X212 */
15 VARIABLE 1 0x0000 2 0x8080 2 0x800080 3 0x8000 0x808080 CODESET=eucJP
20 ALPHA 'A' - 'Z' 'a' - 'z'
21 CONTROL 0x00 - 0x1f 0x7f
25 PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e
28 XDIGIT '0' - '9' 'a' - 'f' 'A' - 'F'
33 MAPLOWER <'A' - 'Z' : 'a'>
34 MAPLOWER <'a' - 'z' : 'a'>
35 MAPUPPER <'A' - 'Z' : 'A'>
36 MAPUPPER <'a' - 'z' : 'A'>
37 TODIGIT <'0' - '9' : 0>
38 TODIGIT <'A' - 'F' : 10>
39 TODIGIT <'a' - 'f' : 10>
42 * CR control characters
52 SPECIAL 0xa1a2 - 0xa1fe
53 PUNCT 0xa1a2 - 0xa1f8 /* A few too many in here... */
54 SWIDTH2 0xa1a1 - 0xa1fe
56 SPECIAL 0xa2a1 - 0xa2ae 0xa2ba - 0xa2c1 0xa2ca - 0xa2d0 0xa2dc - 0xa2ea
57 SPECIAL 0xa2f2 - 0xa2f9 0xa2fe
58 SWIDTH2 0xa2a1 - 0xa2ae 0xa2ba - 0xa2c1 0xa2ca - 0xa2d0 0xa2dc - 0xa2ea
59 SWIDTH2 0xa2f2 - 0xa2f9 0xa2fe
61 DIGIT 0xa3b0 - 0xa3b9 /* Zenkaku Digit */
62 UPPER 0xa3c1 - 0xa3da /* Zenkaku Alphabet */
63 LOWER 0xa3e1 - 0xa3fa /* Zenkaku Alphabet */
64 SWIDTH2 0xa3b0 - 0xa3b9 /* Zenkaku Digit */
65 SWIDTH2 0xa3c1 - 0xa3da /* Zenkaku Alphabet */
66 SWIDTH2 0xa3e1 - 0xa3fa /* Zenkaku Alphabet */
67 MAPLOWER < 0xa3c1 - 0xa3da : 0xa3e1 > /* Zenkaku Alphabet */
68 MAPLOWER < 0xa3e1 - 0xa3fa : 0xa3e1 > /* Zenkaku Alphabet */
69 MAPUPPER < 0xa3c1 - 0xa3da : 0xa3c1 > /* Zenkaku Alphabet */
70 MAPUPPER < 0xa3e1 - 0xa3fa : 0xa3c1 > /* Zenkaku Alphabet */
72 XDIGIT 0xa3c1 - 0xa3c6 0xa3e1 - 0xa3e6
74 TODIGIT < 0xa3b0 - 0xa3b9 : 0 >
75 TODIGIT < 0xa3c1 - 0xa3c6 : 10 >
76 TODIGIT < 0xa3e1 - 0xa3e6 : 10 >
78 PHONOGRAM 0xa4a1 - 0xa4f3
79 PHONOGRAM 0xa5a1 - 0xa5f6
80 SWIDTH2 0xa4a1 - 0xa4f3 /* Zenkaku Hiragana */
81 SWIDTH2 0xa5a1 - 0xa5f6 /* Zenkaku Katakana */
83 UPPER 0xa6a1 - 0xa6b8 /* Zenkaku Greek */
84 LOWER 0xa6c1 - 0xa6d8 /* Zenkaku Greek */
85 SWIDTH2 0xa6a1 - 0xa6b8 /* Zenkaku Greek */
86 SWIDTH2 0xa6c1 - 0xa6d8 /* Zenkaku Greek */
87 MAPLOWER < 0xa6a1 - 0xa6b8 : 0xa6c1 >
88 MAPLOWER < 0xa6c1 - 0xa6d8 : 0xa6c1 >
89 MAPUPPER < 0xa6a1 - 0xa6b8 : 0xa6a1 >
90 MAPUPPER < 0xa6c1 - 0xa6d8 : 0xa6a1 >
92 UPPER 0xa7a1 - 0xa7c1 /* Zenkaku Cyrillic */
93 LOWER 0xa7d1 - 0xa7f1 /* Zenkaku Cyrillic */
94 SWIDTH2 0xa7a1 - 0xa7c1 /* Zenkaku Cyrillic */
95 SWIDTH2 0xa7d1 - 0xa7f1 /* Zenkaku Cyrillic */
96 MAPLOWER <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fe
215 SWIDTH2 0xd9a1 - 0xd9fe
216 SWIDTH2 0xdaa1 - 0xdafe
217 SWIDTH2 0xdba1 - 0xdbfe
218 SWIDTH2 0xdca1 - 0xdcfe
219 SWIDTH2 0xdda1 - 0xddfe
220 SWIDTH2 0xdea1 - 0xdefe
221 SWIDTH2 0xdfa1 - 0xdffe
222 SWIDTH2 0xe0a1 - 0xe0fe
223 SWIDTH2 0xe1a1 - 0xe1fe
224 SWIDTH2 0xe2a1 - 0xe2fe
225 SWIDTH2 0xe3a1 - 0xe3fe
226 SWIDTH2 0xe4a1 - 0xe4fe
227 SWIDTH2 0xe5a1 - 0xe5fe
228 SWIDTH2 0xe6a1 - 0xe6fe
229 SWIDTH2 0xe7a1 - 0xe7fe
230 SWIDTH2 0xe8a1 - 0xe8fe
231 SWIDTH2 0xe9a1 - 0xe9fe
232 SWIDTH2 0xeaa1 - 0xeafe
233 SWIDTH2 0xeba1 - 0xebfe
234 SWIDTH2 0xeca1 - 0xecfe
235 SWIDTH2 0xeda1 - 0xedfe
236 SWIDTH2 0xeea1 - 0xeefe
237 SWIDTH2 0xefa1 - 0xeffe
238 SWIDTH2 0xf0a1 - 0xf0fe
239 SWIDTH2 0xf1a1 - 0xf1fe
240 SWIDTH2 0xf2a1 - 0xf2fe
241 SWIDTH2 0xf3a1 - 0xf3fe
242 SWIDTH2 0xf4a1 - 0xf4a6
245 * This is for Code Set 3, half-width kana
247 SPECIAL 0x8000a1 - 0x8000df
248 PHONOGRAM 0x8000a1 - 0x8000df
249 SWIDTH1 0x8000a1 - 0x8000df
250 CONTROL 0x800084 - 0x800097 0x80009b - 0x80009f 0x8000e0 - 0x8000fe
253 * This is for Code Set 4, supplementary Japanese graphic charset
256 PHONOGRAM 0xa22f - 0xa239
257 SWIDTH2 0xa22f - 0xa239
258 GRAPH 0xa242 - 0xa244
259 SWIDTH2 0xa242 - 0xa244
260 GRAPH 0xa26b - 0xa271
261 SWIDTH2 0xa26b - 0xa271
262 ALPHA 0xa661 - 0xa66c
263 ALPHA 0xa671 - 0xa67c
264 SWIDTH2 0xa661 - 0xa66c
265 SWIDTH2 0xa671 - 0xa67c
266 MAPLOWER <0xa661 - 0xa66c : 0xa671>
267 MAPLOWER <0xa671 - 0xa67c : 0xa671>
268 MAPUPPER <0xa661 - 0xa66c : 0xa661>
269 MAPUPPER <0xa671 - 0xa67c : 0xa661>
270 ALPHA 0xa742 - 0xa74e
271 ALPHA 0xa772 - 0xa77e
272 SWIDTH2 0xa742 - 0xa74e
273 SWIDTH2 0xa772 - 0xa77e
274 MAPLOWER <0xa742 - 0xa74e : 0xa772>
275 MAPLOWER <0xa772 - 0xa77e : 0xa772>
276 MAPUPPER <0xa742 - 0xa74e : 0xa742>
277 MAPUPPER <0xa772 - 0xa77e : 0xa742>
278 ALPHA 0xa921 - 0xa92e
279 ALPHA 0xa941 - 0xa94e
280 SWIDTH2 0xa921 - 0xa92e
281 SWIDTH2 0xa941 - 0xa94e
282 MAPLOWER <0xa921 - 0xa92e : 0xa941>
283 MAPLOWER <0xa941 - 0xa94e : 0xa941>
284 MAPUPPER <0xa921 - 0xa92e : 0xa921>
285 MAPUPPER <0xa941 - 0xa94e : 0xa921>
286 ALPHA 0xaa21 - 0xaa57
287 ALPHA 0xab21 - 0xab57
288 SWIDTH2 0xaa21 - 0xaa57
289 SWIDTH2 0xab21 - 0xab57
290 MAPLOWER <0xaa21 - 0xaa57 : 0xab21>
291 MAPLOWER <0xab21 - 0xab57 : 0xab21>
292 MAPUPPER <0xaa21 - 0xaa57 : 0xaa21>
293 MAPUPPER <0xab21 - 0xab57 : 0xaa21>
295 IDEOGRAM 0xb021 - 0xb07e
296 IDEOGRAM 0xb121 - 0xb17e
297 IDEOGRAM 0xb221 - 0xb27e
298 IDEOGRAM 0xb321 - 0xb37e
299 IDEOGRAM 0xb421 - 0xb47e
300 IDEOGRAM 0xb521 - 0xb57e
301 IDEOGRAM 0xb621 - 0xb67e
302 IDEOGRAM 0xb721 - 0xb77e
303 IDEOGRAM 0xb821 - 0xb87e
304 IDEOGRAM 0xb921 - 0xb97e
305 IDEOGRAM 0xba21 - 0xba7e
306 IDEOGRAM 0xbb21 - 0xbb7e
307 IDEOGRAM 0xbc21 - 0xbc7e
308 IDEOGRAM 0xbd21 - 0xbd7e
309 IDEOGRAM 0xbe21 - 0xbe7e
310 IDEOGRAM 0xbf21 - 0xbf7e
311 IDEOGRAM 0xc021 - 0xc07e
312 IDEOGRAM 0xc121 - 0xc17e
313 IDEOGRAM 0xc221 - 0xc27e
314 IDEOGRAM 0xc321 - 0xc37e
315 IDEOGRAM 0xc421 - 0xc47e
316 IDEOGRAM 0xc521 - 0xc57e
317 IDEOGRAM 0xc621 - 0xc67e
318 IDEOGRAM 0xc721 - 0xc77e
319 IDEOGRAM 0xc821 - 0xc87e
320 IDEOGRAM 0xc921 - 0xc97e
321 IDEOGRAM 0xca21 - 0xca7e
322 IDEOGRAM 0xcb21 - 0xcb7e
323 IDEOGRAM 0xcc21 - 0xcc7e
324 IDEOGRAM 0xcd21 - 0xcd7e
325 IDEOGRAM 0xce21 - 0xce7e
326 IDEOGRAM 0xcf21 - 0xcf7e
327 IDEOGRAM 0xd021 - 0xd07e
328 IDEOGRAM 0xd121 - 0xd17e
329 IDEOGRAM 0xd221 - 0xd27e
330 IDEOGRAM 0xd321 - 0xd37e
331 IDEOGRAM 0xd421 - 0xd47e
332 IDEOGRAM 0xd521 - 0xd57e
333 IDEOGRAM 0xd621 - 0xd67e
334 IDEOGRAM 0xd721 - 0xd77e
335 IDEOGRAM 0xd821 - 0xd87e
336 IDEOGRAM 0xd921 - 0xd97e
337 IDEOGRAM 0xda21 - 0xda7e
338 IDEOGRAM 0xdb21 - 0xdb7e
339 IDEOGRAM 0xdc21 - 0xdc7e
340 IDEOGRAM 0xdd21 - 0xdd7e
341 IDEOGRAM 0xde21 - 0xde7e
342 IDEOGRAM 0xdf21 - 0xdf7e
343 IDEOGRAM 0xe021 - 0xe07e
344 IDEOGRAM 0xe121 - 0xe17e
345 IDEOGRAM 0xe221 - 0xe27e
346 IDEOGRAM 0xe321 - 0xe37e
347 IDEOGRAM 0xe421 - 0xe47e
348 IDEOGRAM 0xe521 - 0xe57e
349 IDEOGRAM 0xe621 - 0xe67e
350 IDEOGRAM 0xe721 - 0xe77e
351 IDEOGRAM 0xe821 - 0xe87e
352 IDEOGRAM 0xe921 - 0xe97e
353 IDEOGRAM 0xea21 - 0xea7e
354 IDEOGRAM 0xeb21 - 0xeb7e
355 IDEOGRAM 0xec21 - 0xec7e
356 IDEOGRAM 0xed21 - 0xed63
358 SWIDTH2 0xb021 - 0xb07e
359 SWIDTH2 0xb121 - 0xb17e
360 SWIDTH2 0xb221 - 0xb27e
361 SWIDTH2 0xb321 - 0xb37e
362 SWIDTH2 0xb421 - 0xb47e
363 SWIDTH2 0xb521 - 0xb57e
364 SWIDTH2 0xb621 - 0xb67e
365 SWIDTH2 0xb721 - 0xb77e
366 SWIDTH2 0xb821 - 0xb87e
367 SWIDTH2 0xb921 - 0xb97e
368 SWIDTH2 0xba21 - 0xba7e
369 SWIDTH2 0xbb21 - 0xbb7e
370 SWIDTH2 0xbc21 - 0xbc7e
371 SWIDTH2 0xbd21 - 0xbd7e
372 SWIDTH2 0xbe21 - 0xbe7e
373 SWIDTH2 0xbf21 - 0xbf7e
374 SWIDTH2 0xc021 - 0xc07e
375 SWIDTH2 0xc121 - 0xc17e
376 SWIDTH2 0xc221 - 0xc27e
377 SWIDTH2 0xc321 - 0xc37e
378 SWIDTH2 0xc421 - 0xc47e
379 SWIDTH2 0xc521 - 0xc57e
380 SWIDTH2 0xc621 - 0xc67e
381 SWIDTH2 0xc721 - 0xc77e
382 SWIDTH2 0xc821 - 0xc87e
383 SWIDTH2 0xc921 - 0xc97e
384 SWIDTH2 0xca21 - 0xca7e
385 SWIDTH2 0xcb21 - 0xcb7e
386 SWIDTH2 0xcc21 - 0xcc7e
387 SWIDTH2 0xcd21 - 0xcd7e
388 SWIDTH2 0xce21 - 0xce7e
389 SWIDTH2 0xcf21 - 0xcf7e
390 SWIDTH2 0xd021 - 0xd07e
391 SWIDTH2 0xd121 - 0xd17e
392 SWIDTH2 0xd221 - 0xd27e
393 SWIDTH2 0xd321 - 0xd37e
394 SWIDTH2 0xd421 - 0xd47e
395 SWIDTH2 0xd521 - 0xd57e
396 SWIDTH2 0xd621 - 0xd67e
397 SWIDTH2 0xd721 - 0xd77e
398 SWIDTH2 0xd821 - 0xd87e
399 SWIDTH2 0xd921 - 0xd97e
400 SWIDTH2 0xda21 - 0xda7e
401 SWIDTH2 0xdb21 - 0xdb7e
402 SWIDTH2 0xdc21 - 0xdc7e
403 SWIDTH2 0xdd21 - 0xdd7e
404 SWIDTH2 0xde21 - 0xde7e
405 SWIDTH2 0xdf21 - 0xdf7e
406 SWIDTH2 0xe021 - 0xe07e
407 SWIDTH2 0xe121 - 0xe17e
408 SWIDTH2 0xe221 - 0xe27e
409 SWIDTH2 0xe321 - 0xe37e
410 SWIDTH2 0xe421 - 0xe47e
411 SWIDTH2 0xe521 - 0xe57e
412 SWIDTH2 0xe621 - 0xe67e
413 SWIDTH2 0xe721 - 0xe77e
414 SWIDTH2 0xe821 - 0xe87e
415 SWIDTH2 0xe921 - 0xe97e
416 SWIDTH2 0xea21 - 0xea7e
417 SWIDTH2 0xeb21 - 0xeb7e
418 SWIDTH2 0xec21 - 0xec7e
419 SWIDTH2 0xed21 - 0xed63