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