cpython/Modules/cjkcodecs/map_gb18030uni.h

219 lines
6.3 KiB
C

/*
* $CJKCodecs: map_gb18030uni.h,v 1.1.1.1 2003/09/24 17:45:51 perky Exp $
*/
static const struct _gb18030_to_unibmp_ranges {
Py_UNICODE first, last;
DBCHAR base;
} gb18030_to_unibmp_ranges[] = {
{ 0x0080, 0x00a3, 0x0000 },
{ 0x00a5, 0x00a6, 0x0024 },
{ 0x00a9, 0x00af, 0x0026 },
{ 0x00b2, 0x00b6, 0x002d },
{ 0x00b8, 0x00d6, 0x0032 },
{ 0x00d8, 0x00df, 0x0051 },
{ 0x00e2, 0x00e7, 0x0059 },
{ 0x00eb, 0x00eb, 0x005f },
{ 0x00ee, 0x00f1, 0x0060 },
{ 0x00f4, 0x00f6, 0x0064 },
{ 0x00f8, 0x00f8, 0x0067 },
{ 0x00fb, 0x00fb, 0x0068 },
{ 0x00fd, 0x0100, 0x0069 },
{ 0x0102, 0x0112, 0x006d },
{ 0x0114, 0x011a, 0x007e },
{ 0x011c, 0x012a, 0x0085 },
{ 0x012c, 0x0143, 0x0094 },
{ 0x0145, 0x0147, 0x00ac },
{ 0x0149, 0x014c, 0x00af },
{ 0x014e, 0x016a, 0x00b3 },
{ 0x016c, 0x01cd, 0x00d0 },
{ 0x01cf, 0x01cf, 0x0132 },
{ 0x01d1, 0x01d1, 0x0133 },
{ 0x01d3, 0x01d3, 0x0134 },
{ 0x01d5, 0x01d5, 0x0135 },
{ 0x01d7, 0x01d7, 0x0136 },
{ 0x01d9, 0x01d9, 0x0137 },
{ 0x01db, 0x01db, 0x0138 },
{ 0x01dd, 0x01f8, 0x0139 },
{ 0x01fa, 0x0250, 0x0155 },
{ 0x0252, 0x0260, 0x01ac },
{ 0x0262, 0x02c6, 0x01bb },
{ 0x02c8, 0x02c8, 0x0220 },
{ 0x02cc, 0x02d8, 0x0221 },
{ 0x02da, 0x0390, 0x022e },
{ 0x03a2, 0x03a2, 0x02e5 },
{ 0x03aa, 0x03b0, 0x02e6 },
{ 0x03c2, 0x03c2, 0x02ed },
{ 0x03ca, 0x0400, 0x02ee },
{ 0x0402, 0x040f, 0x0325 },
{ 0x0450, 0x0450, 0x0333 },
{ 0x0452, 0x200f, 0x0334 },
{ 0x2011, 0x2012, 0x1ef2 },
{ 0x2017, 0x2017, 0x1ef4 },
{ 0x201a, 0x201b, 0x1ef5 },
{ 0x201e, 0x2024, 0x1ef7 },
{ 0x2027, 0x202f, 0x1efe },
{ 0x2031, 0x2031, 0x1f07 },
{ 0x2034, 0x2034, 0x1f08 },
{ 0x2036, 0x203a, 0x1f09 },
{ 0x203c, 0x20ab, 0x1f0e },
{ 0x20ad, 0x2102, 0x1f7e },
{ 0x2104, 0x2104, 0x1fd4 },
{ 0x2106, 0x2108, 0x1fd5 },
{ 0x210a, 0x2115, 0x1fd8 },
{ 0x2117, 0x2120, 0x1fe4 },
{ 0x2122, 0x215f, 0x1fee },
{ 0x216c, 0x216f, 0x202c },
{ 0x217a, 0x218f, 0x2030 },
{ 0x2194, 0x2195, 0x2046 },
{ 0x219a, 0x2207, 0x2048 },
{ 0x2209, 0x220e, 0x20b6 },
{ 0x2210, 0x2210, 0x20bc },
{ 0x2212, 0x2214, 0x20bd },
{ 0x2216, 0x2219, 0x20c0 },
{ 0x221b, 0x221c, 0x20c4 },
{ 0x2221, 0x2222, 0x20c6 },
{ 0x2224, 0x2224, 0x20c8 },
{ 0x2226, 0x2226, 0x20c9 },
{ 0x222c, 0x222d, 0x20ca },
{ 0x222f, 0x2233, 0x20cc },
{ 0x2238, 0x223c, 0x20d1 },
{ 0x223e, 0x2247, 0x20d6 },
{ 0x2249, 0x224b, 0x20e0 },
{ 0x224d, 0x2251, 0x20e3 },
{ 0x2253, 0x225f, 0x20e8 },
{ 0x2262, 0x2263, 0x20f5 },
{ 0x2268, 0x226d, 0x20f7 },
{ 0x2270, 0x2294, 0x20fd },
{ 0x2296, 0x2298, 0x2122 },
{ 0x229a, 0x22a4, 0x2125 },
{ 0x22a6, 0x22be, 0x2130 },
{ 0x22c0, 0x2311, 0x2149 },
{ 0x2313, 0x245f, 0x219b },
{ 0x246a, 0x2473, 0x22e8 },
{ 0x249c, 0x24ff, 0x22f2 },
{ 0x254c, 0x254f, 0x2356 },
{ 0x2574, 0x2580, 0x235a },
{ 0x2590, 0x2592, 0x2367 },
{ 0x2596, 0x259f, 0x236a },
{ 0x25a2, 0x25b1, 0x2374 },
{ 0x25b4, 0x25bb, 0x2384 },
{ 0x25be, 0x25c5, 0x238c },
{ 0x25c8, 0x25ca, 0x2394 },
{ 0x25cc, 0x25cd, 0x2397 },
{ 0x25d0, 0x25e1, 0x2399 },
{ 0x25e6, 0x2604, 0x23ab },
{ 0x2607, 0x2608, 0x23ca },
{ 0x260a, 0x263f, 0x23cc },
{ 0x2641, 0x2641, 0x2402 },
{ 0x2643, 0x2e80, 0x2403 },
{ 0x2e82, 0x2e83, 0x2c41 },
{ 0x2e85, 0x2e87, 0x2c43 },
{ 0x2e89, 0x2e8a, 0x2c46 },
{ 0x2e8d, 0x2e96, 0x2c48 },
{ 0x2e98, 0x2ea6, 0x2c52 },
{ 0x2ea8, 0x2ea9, 0x2c61 },
{ 0x2eab, 0x2ead, 0x2c63 },
{ 0x2eaf, 0x2eb2, 0x2c66 },
{ 0x2eb4, 0x2eb5, 0x2c6a },
{ 0x2eb8, 0x2eba, 0x2c6c },
{ 0x2ebc, 0x2ec9, 0x2c6f },
{ 0x2ecb, 0x2fef, 0x2c7d },
{ 0x2ffc, 0x2fff, 0x2da2 },
{ 0x3004, 0x3004, 0x2da6 },
{ 0x3018, 0x301c, 0x2da7 },
{ 0x301f, 0x3020, 0x2dac },
{ 0x302a, 0x303d, 0x2dae },
{ 0x303f, 0x3040, 0x2dc2 },
{ 0x3094, 0x309a, 0x2dc4 },
{ 0x309f, 0x30a0, 0x2dcb },
{ 0x30f7, 0x30fb, 0x2dcd },
{ 0x30ff, 0x3104, 0x2dd2 },
{ 0x312a, 0x321f, 0x2dd8 },
{ 0x322a, 0x3230, 0x2ece },
{ 0x3232, 0x32a2, 0x2ed5 },
{ 0x32a4, 0x338d, 0x2f46 },
{ 0x3390, 0x339b, 0x3030 },
{ 0x339f, 0x33a0, 0x303c },
{ 0x33a2, 0x33c3, 0x303e },
{ 0x33c5, 0x33cd, 0x3060 },
{ 0x33cf, 0x33d0, 0x3069 },
{ 0x33d3, 0x33d4, 0x306b },
{ 0x33d6, 0x3446, 0x306d },
{ 0x3448, 0x3472, 0x30de },
{ 0x3474, 0x359d, 0x3109 },
{ 0x359f, 0x360d, 0x3233 },
{ 0x360f, 0x3619, 0x32a2 },
{ 0x361b, 0x3917, 0x32ad },
{ 0x3919, 0x396d, 0x35aa },
{ 0x396f, 0x39ce, 0x35ff },
{ 0x39d1, 0x39de, 0x365f },
{ 0x39e0, 0x3a72, 0x366d },
{ 0x3a74, 0x3b4d, 0x3700 },
{ 0x3b4f, 0x3c6d, 0x37da },
{ 0x3c6f, 0x3cdf, 0x38f9 },
{ 0x3ce1, 0x4055, 0x396a },
{ 0x4057, 0x415e, 0x3cdf },
{ 0x4160, 0x4336, 0x3de7 },
{ 0x4338, 0x43ab, 0x3fbe },
{ 0x43ad, 0x43b0, 0x4032 },
{ 0x43b2, 0x43dc, 0x4036 },
{ 0x43de, 0x44d5, 0x4061 },
{ 0x44d7, 0x464b, 0x4159 },
{ 0x464d, 0x4660, 0x42ce },
{ 0x4662, 0x4722, 0x42e2 },
{ 0x4724, 0x4728, 0x43a3 },
{ 0x472a, 0x477b, 0x43a8 },
{ 0x477d, 0x478c, 0x43fa },
{ 0x478e, 0x4946, 0x440a },
{ 0x4948, 0x4979, 0x45c3 },
{ 0x497b, 0x497c, 0x45f5 },
{ 0x497e, 0x4981, 0x45f7 },
{ 0x4984, 0x4984, 0x45fb },
{ 0x4987, 0x499a, 0x45fc },
{ 0x499c, 0x499e, 0x4610 },
{ 0x49a0, 0x49b5, 0x4613 },
{ 0x49b8, 0x4c76, 0x4629 },
{ 0x4c78, 0x4c9e, 0x48e8 },
{ 0x4ca4, 0x4d12, 0x490f },
{ 0x4d1a, 0x4dad, 0x497e },
{ 0x4daf, 0x4dff, 0x4a12 },
{ 0x9fa6, 0xd7ff, 0x4a63 },
{ 0xe76c, 0xe76c, 0x82bd },
{ 0xe7c8, 0xe7c8, 0x82be },
{ 0xe7e7, 0xe7f3, 0x82bf },
{ 0xe815, 0xe815, 0x82cc },
{ 0xe819, 0xe81d, 0x82cd },
{ 0xe81f, 0xe825, 0x82d2 },
{ 0xe827, 0xe82a, 0x82d9 },
{ 0xe82d, 0xe830, 0x82dd },
{ 0xe833, 0xe83a, 0x82e1 },
{ 0xe83c, 0xe842, 0x82e9 },
{ 0xe844, 0xe853, 0x82f0 },
{ 0xe856, 0xe863, 0x8300 },
{ 0xe865, 0xf92b, 0x830e },
{ 0xf92d, 0xf978, 0x93d5 },
{ 0xf97a, 0xf994, 0x9421 },
{ 0xf996, 0xf9e6, 0x943c },
{ 0xf9e8, 0xf9f0, 0x948d },
{ 0xf9f2, 0xfa0b, 0x9496 },
{ 0xfa10, 0xfa10, 0x94b0 },
{ 0xfa12, 0xfa12, 0x94b1 },
{ 0xfa15, 0xfa17, 0x94b2 },
{ 0xfa19, 0xfa1e, 0x94b5 },
{ 0xfa22, 0xfa22, 0x94bb },
{ 0xfa25, 0xfa26, 0x94bc },
{ 0xfa2a, 0xfe2f, 0x94be },
{ 0xfe32, 0xfe32, 0x98c4 },
{ 0xfe45, 0xfe48, 0x98c5 },
{ 0xfe53, 0xfe53, 0x98c9 },
{ 0xfe58, 0xfe58, 0x98ca },
{ 0xfe67, 0xfe67, 0x98cb },
{ 0xfe6c, 0xff00, 0x98cc },
{ 0xff5f, 0xffdf, 0x9961 },
{ 0xffe6, 0xffff, 0x99e2 },
{ 0x0000, 0x0000, 0x99fc },
};