330 lines
7.8 KiB
C
330 lines
7.8 KiB
C
/*
|
|
* $CJKCodecs: map_jisx0213_pairs.h,v 1.2 2003/11/27 13:29:01 perky Exp $
|
|
*/
|
|
|
|
static const ucs4_t __jisx0213_pairdecmap[49] = {
|
|
0x304b309a, 0x304d309a, 0x304f309a, 0x3051309a,
|
|
0x3053309a, 0x30ab309a, 0x30ad309a, 0x30af309a,
|
|
0x30b1309a, 0x30b3309a, 0x30bb309a, 0x30c4309a,
|
|
0x30c8309a, 0x31f7309a, 0x00e60300, UNIINV,
|
|
UNIINV, UNIINV, 0x02540300, 0x02540301,
|
|
0x028c0300, 0x028c0301, 0x02590300, 0x02590301,
|
|
0x025a0300, 0x025a0301, UNIINV, UNIINV,
|
|
UNIINV, UNIINV, UNIINV, UNIINV,
|
|
UNIINV, UNIINV, UNIINV, UNIINV,
|
|
UNIINV, UNIINV, UNIINV, UNIINV,
|
|
UNIINV, UNIINV, UNIINV, UNIINV,
|
|
UNIINV, UNIINV, UNIINV, 0x02e902e5,
|
|
0x02e502e9,
|
|
};
|
|
|
|
static const struct widedbcs_index jisx0213_pairdecmap[256] = {
|
|
/* 0x00 */ {0, 0, 0},
|
|
/* 0x01 */ {0, 0, 0},
|
|
/* 0x02 */ {0, 0, 0},
|
|
/* 0x03 */ {0, 0, 0},
|
|
/* 0x04 */ {0, 0, 0},
|
|
/* 0x05 */ {0, 0, 0},
|
|
/* 0x06 */ {0, 0, 0},
|
|
/* 0x07 */ {0, 0, 0},
|
|
/* 0x08 */ {0, 0, 0},
|
|
/* 0x09 */ {0, 0, 0},
|
|
/* 0x0A */ {0, 0, 0},
|
|
/* 0x0B */ {0, 0, 0},
|
|
/* 0x0C */ {0, 0, 0},
|
|
/* 0x0D */ {0, 0, 0},
|
|
/* 0x0E */ {0, 0, 0},
|
|
/* 0x0F */ {0, 0, 0},
|
|
/* 0x10 */ {0, 0, 0},
|
|
/* 0x11 */ {0, 0, 0},
|
|
/* 0x12 */ {0, 0, 0},
|
|
/* 0x13 */ {0, 0, 0},
|
|
/* 0x14 */ {0, 0, 0},
|
|
/* 0x15 */ {0, 0, 0},
|
|
/* 0x16 */ {0, 0, 0},
|
|
/* 0x17 */ {0, 0, 0},
|
|
/* 0x18 */ {0, 0, 0},
|
|
/* 0x19 */ {0, 0, 0},
|
|
/* 0x1A */ {0, 0, 0},
|
|
/* 0x1B */ {0, 0, 0},
|
|
/* 0x1C */ {0, 0, 0},
|
|
/* 0x1D */ {0, 0, 0},
|
|
/* 0x1E */ {0, 0, 0},
|
|
/* 0x1F */ {0, 0, 0},
|
|
/* 0x20 */ {0, 0, 0},
|
|
/* 0x21 */ {0, 0, 0},
|
|
/* 0x22 */ {0, 0, 0},
|
|
/* 0x23 */ {0, 0, 0},
|
|
/* 0x24 */ {__jisx0213_pairdecmap+0, 0x77, 0x7b},
|
|
/* 0x25 */ {__jisx0213_pairdecmap+5, 0x77, 0x7e},
|
|
/* 0x26 */ {__jisx0213_pairdecmap+13, 0x78, 0x78},
|
|
/* 0x27 */ {0, 0, 0},
|
|
/* 0x28 */ {0, 0, 0},
|
|
/* 0x29 */ {0, 0, 0},
|
|
/* 0x2A */ {0, 0, 0},
|
|
/* 0x2B */ {__jisx0213_pairdecmap+14, 0x44, 0x66},
|
|
/* 0x2C */ {0, 0, 0},
|
|
/* 0x2D */ {0, 0, 0},
|
|
/* 0x2E */ {0, 0, 0},
|
|
/* 0x2F */ {0, 0, 0},
|
|
/* 0x30 */ {0, 0, 0},
|
|
/* 0x31 */ {0, 0, 0},
|
|
/* 0x32 */ {0, 0, 0},
|
|
/* 0x33 */ {0, 0, 0},
|
|
/* 0x34 */ {0, 0, 0},
|
|
/* 0x35 */ {0, 0, 0},
|
|
/* 0x36 */ {0, 0, 0},
|
|
/* 0x37 */ {0, 0, 0},
|
|
/* 0x38 */ {0, 0, 0},
|
|
/* 0x39 */ {0, 0, 0},
|
|
/* 0x3A */ {0, 0, 0},
|
|
/* 0x3B */ {0, 0, 0},
|
|
/* 0x3C */ {0, 0, 0},
|
|
/* 0x3D */ {0, 0, 0},
|
|
/* 0x3E */ {0, 0, 0},
|
|
/* 0x3F */ {0, 0, 0},
|
|
/* 0x40 */ {0, 0, 0},
|
|
/* 0x41 */ {0, 0, 0},
|
|
/* 0x42 */ {0, 0, 0},
|
|
/* 0x43 */ {0, 0, 0},
|
|
/* 0x44 */ {0, 0, 0},
|
|
/* 0x45 */ {0, 0, 0},
|
|
/* 0x46 */ {0, 0, 0},
|
|
/* 0x47 */ {0, 0, 0},
|
|
/* 0x48 */ {0, 0, 0},
|
|
/* 0x49 */ {0, 0, 0},
|
|
/* 0x4A */ {0, 0, 0},
|
|
/* 0x4B */ {0, 0, 0},
|
|
/* 0x4C */ {0, 0, 0},
|
|
/* 0x4D */ {0, 0, 0},
|
|
/* 0x4E */ {0, 0, 0},
|
|
/* 0x4F */ {0, 0, 0},
|
|
/* 0x50 */ {0, 0, 0},
|
|
/* 0x51 */ {0, 0, 0},
|
|
/* 0x52 */ {0, 0, 0},
|
|
/* 0x53 */ {0, 0, 0},
|
|
/* 0x54 */ {0, 0, 0},
|
|
/* 0x55 */ {0, 0, 0},
|
|
/* 0x56 */ {0, 0, 0},
|
|
/* 0x57 */ {0, 0, 0},
|
|
/* 0x58 */ {0, 0, 0},
|
|
/* 0x59 */ {0, 0, 0},
|
|
/* 0x5A */ {0, 0, 0},
|
|
/* 0x5B */ {0, 0, 0},
|
|
/* 0x5C */ {0, 0, 0},
|
|
/* 0x5D */ {0, 0, 0},
|
|
/* 0x5E */ {0, 0, 0},
|
|
/* 0x5F */ {0, 0, 0},
|
|
/* 0x60 */ {0, 0, 0},
|
|
/* 0x61 */ {0, 0, 0},
|
|
/* 0x62 */ {0, 0, 0},
|
|
/* 0x63 */ {0, 0, 0},
|
|
/* 0x64 */ {0, 0, 0},
|
|
/* 0x65 */ {0, 0, 0},
|
|
/* 0x66 */ {0, 0, 0},
|
|
/* 0x67 */ {0, 0, 0},
|
|
/* 0x68 */ {0, 0, 0},
|
|
/* 0x69 */ {0, 0, 0},
|
|
/* 0x6A */ {0, 0, 0},
|
|
/* 0x6B */ {0, 0, 0},
|
|
/* 0x6C */ {0, 0, 0},
|
|
/* 0x6D */ {0, 0, 0},
|
|
/* 0x6E */ {0, 0, 0},
|
|
/* 0x6F */ {0, 0, 0},
|
|
/* 0x70 */ {0, 0, 0},
|
|
/* 0x71 */ {0, 0, 0},
|
|
/* 0x72 */ {0, 0, 0},
|
|
/* 0x73 */ {0, 0, 0},
|
|
/* 0x74 */ {0, 0, 0},
|
|
/* 0x75 */ {0, 0, 0},
|
|
/* 0x76 */ {0, 0, 0},
|
|
/* 0x77 */ {0, 0, 0},
|
|
/* 0x78 */ {0, 0, 0},
|
|
/* 0x79 */ {0, 0, 0},
|
|
/* 0x7A */ {0, 0, 0},
|
|
/* 0x7B */ {0, 0, 0},
|
|
/* 0x7C */ {0, 0, 0},
|
|
/* 0x7D */ {0, 0, 0},
|
|
/* 0x7E */ {0, 0, 0},
|
|
/* 0x7F */ {0, 0, 0},
|
|
/* 0x80 */ {0, 0, 0},
|
|
/* 0x81 */ {0, 0, 0},
|
|
/* 0x82 */ {0, 0, 0},
|
|
/* 0x83 */ {0, 0, 0},
|
|
/* 0x84 */ {0, 0, 0},
|
|
/* 0x85 */ {0, 0, 0},
|
|
/* 0x86 */ {0, 0, 0},
|
|
/* 0x87 */ {0, 0, 0},
|
|
/* 0x88 */ {0, 0, 0},
|
|
/* 0x89 */ {0, 0, 0},
|
|
/* 0x8A */ {0, 0, 0},
|
|
/* 0x8B */ {0, 0, 0},
|
|
/* 0x8C */ {0, 0, 0},
|
|
/* 0x8D */ {0, 0, 0},
|
|
/* 0x8E */ {0, 0, 0},
|
|
/* 0x8F */ {0, 0, 0},
|
|
/* 0x90 */ {0, 0, 0},
|
|
/* 0x91 */ {0, 0, 0},
|
|
/* 0x92 */ {0, 0, 0},
|
|
/* 0x93 */ {0, 0, 0},
|
|
/* 0x94 */ {0, 0, 0},
|
|
/* 0x95 */ {0, 0, 0},
|
|
/* 0x96 */ {0, 0, 0},
|
|
/* 0x97 */ {0, 0, 0},
|
|
/* 0x98 */ {0, 0, 0},
|
|
/* 0x99 */ {0, 0, 0},
|
|
/* 0x9A */ {0, 0, 0},
|
|
/* 0x9B */ {0, 0, 0},
|
|
/* 0x9C */ {0, 0, 0},
|
|
/* 0x9D */ {0, 0, 0},
|
|
/* 0x9E */ {0, 0, 0},
|
|
/* 0x9F */ {0, 0, 0},
|
|
/* 0xA0 */ {0, 0, 0},
|
|
/* 0xA1 */ {0, 0, 0},
|
|
/* 0xA2 */ {0, 0, 0},
|
|
/* 0xA3 */ {0, 0, 0},
|
|
/* 0xA4 */ {0, 0, 0},
|
|
/* 0xA5 */ {0, 0, 0},
|
|
/* 0xA6 */ {0, 0, 0},
|
|
/* 0xA7 */ {0, 0, 0},
|
|
/* 0xA8 */ {0, 0, 0},
|
|
/* 0xA9 */ {0, 0, 0},
|
|
/* 0xAA */ {0, 0, 0},
|
|
/* 0xAB */ {0, 0, 0},
|
|
/* 0xAC */ {0, 0, 0},
|
|
/* 0xAD */ {0, 0, 0},
|
|
/* 0xAE */ {0, 0, 0},
|
|
/* 0xAF */ {0, 0, 0},
|
|
/* 0xB0 */ {0, 0, 0},
|
|
/* 0xB1 */ {0, 0, 0},
|
|
/* 0xB2 */ {0, 0, 0},
|
|
/* 0xB3 */ {0, 0, 0},
|
|
/* 0xB4 */ {0, 0, 0},
|
|
/* 0xB5 */ {0, 0, 0},
|
|
/* 0xB6 */ {0, 0, 0},
|
|
/* 0xB7 */ {0, 0, 0},
|
|
/* 0xB8 */ {0, 0, 0},
|
|
/* 0xB9 */ {0, 0, 0},
|
|
/* 0xBA */ {0, 0, 0},
|
|
/* 0xBB */ {0, 0, 0},
|
|
/* 0xBC */ {0, 0, 0},
|
|
/* 0xBD */ {0, 0, 0},
|
|
/* 0xBE */ {0, 0, 0},
|
|
/* 0xBF */ {0, 0, 0},
|
|
/* 0xC0 */ {0, 0, 0},
|
|
/*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 {0, 0, 0},
|
|
/* 0xED */ {0, 0, 0},
|
|
/* 0xEE */ {0, 0, 0},
|
|
/* 0xEF */ {0, 0, 0},
|
|
/* 0xF0 */ {0, 0, 0},
|
|
/* 0xF1 */ {0, 0, 0},
|
|
/* 0xF2 */ {0, 0, 0},
|
|
/* 0xF3 */ {0, 0, 0},
|
|
/* 0xF4 */ {0, 0, 0},
|
|
/* 0xF5 */ {0, 0, 0},
|
|
/* 0xF6 */ {0, 0, 0},
|
|
/* 0xF7 */ {0, 0, 0},
|
|
/* 0xF8 */ {0, 0, 0},
|
|
/* 0xF9 */ {0, 0, 0},
|
|
/* 0xFA */ {0, 0, 0},
|
|
/* 0xFB */ {0, 0, 0},
|
|
/* 0xFC */ {0, 0, 0},
|
|
/* 0xFD */ {0, 0, 0},
|
|
/* 0xFE */ {0, 0, 0},
|
|
/* 0xFF */ {0, 0, 0},
|
|
};
|
|
|
|
#define JISX0213_ENCPAIRS 46
|
|
static struct pair_encodemap jisx0213_pairencmap[JISX0213_ENCPAIRS] = {
|
|
{ 0x00e60000, 0x295c },
|
|
{ 0x00e60300, 0x2b44 },
|
|
{ 0x02540000, 0x2b38 },
|
|
{ 0x02540300, 0x2b48 },
|
|
{ 0x02540301, 0x2b49 },
|
|
{ 0x02590000, 0x2b30 },
|
|
{ 0x02590300, 0x2b4c },
|
|
{ 0x02590301, 0x2b4d },
|
|
{ 0x025a0000, 0x2b43 },
|
|
{ 0x025a0300, 0x2b4e },
|
|
{ 0x025a0301, 0x2b4f },
|
|
{ 0x028c0000, 0x2b37 },
|
|
{ 0x028c0300, 0x2b4a },
|
|
{ 0x028c0301, 0x2b4b },
|
|
{ 0x02e50000, 0x2b60 },
|
|
{ 0x02e502e9, 0x2b66 },
|
|
{ 0x02e90000, 0x2b64 },
|
|
{ 0x02e902e5, 0x2b65 },
|
|
{ 0x304b0000, 0x242b },
|
|
{ 0x304b309a, 0x2477 },
|
|
{ 0x304d0000, 0x242d },
|
|
{ 0x304d309a, 0x2478 },
|
|
{ 0x304f0000, 0x242f },
|
|
{ 0x304f309a, 0x2479 },
|
|
{ 0x30510000, 0x2431 },
|
|
{ 0x3051309a, 0x247a },
|
|
{ 0x30530000, 0x2433 },
|
|
{ 0x3053309a, 0x247b },
|
|
{ 0x30ab0000, 0x252b },
|
|
{ 0x30ab309a, 0x2577 },
|
|
{ 0x30ad0000, 0x252d },
|
|
{ 0x30ad309a, 0x2578 },
|
|
{ 0x30af0000, 0x252f },
|
|
{ 0x30af309a, 0x2579 },
|
|
{ 0x30b10000, 0x2531 },
|
|
{ 0x30b1309a, 0x257a },
|
|
{ 0x30b30000, 0x2533 },
|
|
{ 0x30b3309a, 0x257b },
|
|
{ 0x30bb0000, 0x253b },
|
|
{ 0x30bb309a, 0x257c },
|
|
{ 0x30c40000, 0x2544 },
|
|
{ 0x30c4309a, 0x257d },
|
|
{ 0x30c80000, 0x2548 },
|
|
{ 0x30c8309a, 0x257e },
|
|
{ 0x31f70000, 0x2675 },
|
|
{ 0x31f7309a, 0x2678 },
|
|
};
|
|
|