mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-20 23:54:38 +01:00
94722e99e5
PR: 33031 Submitted by: Statue <statue@softwareliberty.org>
201 lines
7.1 KiB
Plaintext
201 lines
7.1 KiB
Plaintext
/*
|
|
* big5 first byte: A1-FE
|
|
* second byte: 40-7E, A1-FE
|
|
*
|
|
* $FreeBSD$
|
|
*/
|
|
|
|
ENCODING "BIG5"
|
|
/* VARIABLE BIG5 character set */
|
|
|
|
/*
|
|
* ASCII
|
|
*/
|
|
ALPHA 'A' - 'Z' 'a' - 'z'
|
|
CONTROL 0x00 - 0x1f 0x7f
|
|
DIGIT '0' - '9'
|
|
GRAPH 0x21 - 0x7e
|
|
LOWER 'a' - 'z'
|
|
PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e
|
|
SPACE 0x09 - 0x0d 0x20
|
|
UPPER 'A' - 'Z'
|
|
XDIGIT '0' - '9' 'a' - 'f' 'A' - 'F'
|
|
BLANK ' ' '\t'
|
|
PRINT 0x20 - 0x7e
|
|
|
|
MAPLOWER < 'A' - 'Z' : 'a' >
|
|
MAPLOWER < 'a' - 'z' : 'a' >
|
|
MAPUPPER < 'A' - 'Z' : 'A' >
|
|
MAPUPPER < 'a' - 'z' : 'A' >
|
|
TODIGIT < '0' - '9' : 0 >
|
|
TODIGIT < 'A' - 'F' : 10 >
|
|
TODIGIT < 'a' - 'f' : 10 >
|
|
|
|
/*
|
|
* the real thing
|
|
*/
|
|
|
|
PUNCT 0xa141 - 0xa17e 0xa1a1 - 0xa1ac
|
|
|
|
SPECIAL 0xa1ad - 0xa1fe 0xa240 - 0xa27e 0xa2a1 - 0xa2ae
|
|
|
|
/* full width 0 1 2 .. 9 */
|
|
/* ?DIGIT 0xa2af - 0xa2b8 */
|
|
|
|
/* map these (SuChou Code (12) and Roman (I II etc.) number (10)) to digits */
|
|
TODIGIT < 0xa2b9 - 0xa2c2 : 1 >
|
|
TODIGIT < 0xa2c3 - 0xa2ce : 1 >
|
|
|
|
/* full width A .. Z and a .. z */
|
|
/* note the lower case alphabets are not continuous */
|
|
UPPER 0xa2cf - 0xa2e8
|
|
LOWER 0xa2e9 - 0xa2fe 0xa340 - 0xa343
|
|
|
|
/* we have to got two line for each 'cause they are not continuous */
|
|
MAPLOWER < 0xa2cf - 0xa2e4 : 0xa2e9 > < 0xa2e5 - 0xa2e8 : 0xa340 >
|
|
MAPLOWER < 0xa2e9 - 0xa2fe : 0xa2e9 > < 0xa340 - 0xa343 : 0xa340 >
|
|
MAPUPPER < 0xa2cf - 0xa2e4 : 0xa2cf > < 0xa2e5 - 0xa2e8 : 0xa2e5 >
|
|
MAPUPPER < 0xa2e9 - 0xa2fe : 0xa2cf > < 0xa340 - 0xa343 : 0xa2e5 >
|
|
|
|
/* ?XDIGIT 0xa2cf - 0xa2d4 0xa2e9 - 0xa2ee */
|
|
|
|
SPACE 0xa3bc
|
|
BLANK 0xa3bc
|
|
/* bopomofo symbols */
|
|
PHONOGRAM 0xa374 - 0xa37e 0xa3a1 - 0xa3bb
|
|
/* tone symbols */
|
|
PHONOGRAM 0xa3bd - 0xa3bf
|
|
/* control */
|
|
CONTROL 0xa3c0 - 0xa3fe
|
|
|
|
/* greek */
|
|
UPPER 0xa344 - 0xa35b
|
|
LOWER 0xa35c - 0xa373
|
|
MAPUPPER < 0xa344 - 0xa35b : 0xa344 > < 0xa35c - 0xa373 : 0xa344 >
|
|
MAPLOWER < 0xa344 - 0xa35b : 0xa35c > < 0xa35c - 0xa373 : 0xa35c >
|
|
|
|
/* cyrillic (russian etc) */
|
|
UPPER 0xc7f3 - 0xc7fe 0xc840 - 0xc854
|
|
LOWER 0xc855 - 0xc875
|
|
MAPUPPER < 0xc7f3 - 0xc7fe : 0xc7f3 > < 0xc840 - 0xc854 : 0xc840 >
|
|
MAPUPPER < 0xc855 - 0xc860 : 0xc7f3 > < 0xc861 - 0xc875 : 0xc840 >
|
|
MAPLOWER < 0xc7f3 - 0xc7f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- 0xed7e 0xeda1 - 0xedfe
|
|
IDEOGRAM 0xee40 - 0xee7e 0xeea1 - 0xeefe
|
|
IDEOGRAM 0xef40 - 0xef7e 0xefa1 - 0xeffe
|
|
IDEOGRAM 0xf040 - 0xf07e 0xf0a1 - 0xf0fe
|
|
IDEOGRAM 0xf140 - 0xf17e 0xf1a1 - 0xf1fe
|
|
IDEOGRAM 0xf240 - 0xf27e 0xf2a1 - 0xf2fe
|
|
IDEOGRAM 0xf340 - 0xf37e 0xf3a1 - 0xf3fe
|
|
IDEOGRAM 0xf440 - 0xf47e 0xf4a1 - 0xf4fe
|
|
IDEOGRAM 0xf540 - 0xf57e 0xf5a1 - 0xf5fe
|
|
IDEOGRAM 0xf640 - 0xf67e 0xf6a1 - 0xf6fe
|
|
IDEOGRAM 0xf740 - 0xf77e 0xf7a1 - 0xf7fe
|
|
IDEOGRAM 0xf840 - 0xf87e 0xf8a1 - 0xf8fe
|
|
IDEOGRAM 0xf940 - 0xf97e 0xf9a1 - 0xf9dc
|
|
|
|
/* Eten external charset 0xc6a1 - 0xc8d3 */
|
|
|
|
/* lots strange numbers */
|
|
SPECIAL 0xc6a1 - 0xc6be
|
|
|
|
TODIGIT < 0xc6a1 - 0xc6aa : 1 > < 0xc6ab - 0xc6b4 : 1 >
|
|
TODIGIT < 0xc6b5 - 0xc6be : 1>
|
|
|
|
/* these are HanZi Radicals */
|
|
SPECIAL 0xc6bf - 0xc6d7 0xc879 - 0xc87e 0xc8a1 - 0xc8a4
|
|
|
|
/* who knows what these are ... */
|
|
SPECIAL 0xc6d8 - 0xc6e6 0xc876 - 0xc878
|
|
|
|
/* hiragana */
|
|
SPECIAL 0xc6e7 - 0xc6fe 0xc740 - 0xc77a
|
|
|
|
/* katakana */
|
|
SPECIAL 0xc77b - 0xc77e 0xc7a1 - 0xc7f2
|
|
|
|
/* ZIP code (in Japan) */
|
|
SPECIAL 0xc8a5 - 0xc8cc
|
|
|
|
/* various Japanese symbols */
|
|
SPECIAL 0xc8cd - 0xc8d3
|
|
|
|
/* line drawing glyphs */
|
|
SPECIAL 0xf9dd - 0xf9ff
|
|
|
|
|