/*unicode转gbk数组,计算方法:
gbk[0]=gb[unicode-0x4e00][0];
gbk[1]=gb[unicode-0x4e00][1];
比如"字"的unicode码为0x5b57,则计算出地址addr=0x5b57-0x4e00=3415;从数组中查到gb[3415][0]和gb[3415][0]得"字"的gbk码为0xd7,0xd6;
*/
unsigned char code gb[20902][2]={
0xd2,0xbb,
0xb6,0xa1,
0x81,0x40,
0xc6,0xdf,
0x81,0x41,
0x81,0x42,
0x81,0x43,
0xcd,0xf2,
0xd5,0xc9,
0xc8,0xfd,
0xc9,0xcf,
0xcf,0xc2,
0xd8,0xa2,
0xb2,0xbb,
0xd3,0xeb,
0x81,0x44,
0xd8,0xa4,
0xb3,0xf3,
0x81,0x45,
0xd7,0xa8,
0xc7,0xd2,
0xd8,0xa7,
0xca,0xc0,
0x81,0x46,
0xc7,0xf0,
0xb1,0xfb,
0xd2,0xb5,
0xb4,0xd4,
0xb6,0xab,
0xcb,0xbf,
0xd8,0xa9,
0x81,0x47,
0x81,0x48,
0x81,0x49,
0xb6,0xaa,
0x81,0x4a,
0xc1,0xbd,
0xd1,0xcf,
0x81,0x4b,
0xc9,0xa5,
0xd8,0xad,
0x81,0x4c,
0xb8,0xf6,
0xd1,0xbe,
0xe3,0xdc,
0xd6,0xd0,
0x81,0x4d,
0x81,0x4e,
0xb7,0xe1,
0x81,0x4f,
0xb4,0xae,
0x81,0x50,
0xc1,0xd9,
0x81,0x51,
0xd8,0xbc,
0x81,0x52,
0xcd,0xe8,
0xb5,0xa4,
0xce,0xaa,
0xd6,0xf7,
0x81,0x53,
0xc0,0xf6,
0xbe,0xd9,
0xd8,0xaf,
0x81,0x54,
0x81,0x55,
0x81,0x56,
0xc4,0xcb,
0x81,0x57,
0xbe,0xc3,
0x81,0x58,
0xd8,0xb1,
0xc3,0xb4,
0xd2,0xe5,
0x81,0x59,
0xd6,0xae,
0xce,0xda,
0xd5,0xa7,
0xba,0xf5,
0xb7,0xa6,
0xc0,0xd6,
0x81,0x5a,
0xc6,0xb9,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82,0x65,
0xd9,0xb1,
0x82,0x66,
0xd9,0xb2,
0xc1,0xa9,
0xd9,0xb3,
0x82,0x67,
0x82,0x68,
0xbc,0xf3,
0xd0,0xde,
0xb8,0xa9,
0x82,0x69,
0xbe,0xe3,
0x82,0x6a,
0xd9,0xbd,
0x82,0x6b,
0x82,0x6c,
0x82,0x6d,
0x82,0x6e,
0xd9,0xba,
0x82,0x6f,
0xb0,0xb3,
0x82,0x70,
0x82,0x71,
0x82,0x72,
0xd9,0xc2,
0x82,0x73,
0x82,0x74,
0x82,0x75,
0x82,0x76,
0x82,0x77,
0x82,0x78,
0x82,0x79,
0x82,0x7a,
0x82,0x7b,
0x82,0x7c,
0x82,0x7d,
0x82,0x7e,
0x82,0x80,
0xd9,0xc4,
0xb1,0xb6,
0x82,0x81,
0xd9,0xbf,
0x82,0x82,
0x82,0x83,
0xb5,0xb9,
0x82,0x84,
0xbe,0xf3,
0x82,0x85,
0x82,0x86,
0x82,0x87,
0xcc,0xc8,
0xba,0xf2,
0xd2,0xd0,
0x82,0x88,
0xd9,0xc3,
0x82,0x89,
0x82,0x8a,
0xbd,0xe8,
0x82,0x8b,
0xb3,0xab,
0x82,0x8c,
0x82,0x8d,
0x82,0x8e,
0xd9,0xc5,
0xbe,0xeb,
0x82,0x8f,
0xd9,0xc6,
0xd9,0xbb,
0xc4,0xdf,
0x82,0x90,
0xd9,0xbe,
0xd9,0xc1,
0xd9,0xc0,
0x82,0x91,
0x82,0x92,
0x82,0x93,
0x82,0x94,
0x82,0x95,
0x82,0x96,
0x82,0x97,
0x82,0x98,
0x82,0x99,
0x82,0x9a,
0x82,0x9b,
0xd5,0xae,
0x82,0x9c,
0xd6,0xb5,
0x82,0x9d,
0xc7,0xe3,
0x82,0x9e,
0x82,0x9f,
0x82,0xa0,
0x82,0xa1,
0xd9,0xc8,
0x82,0xa2,
0x82,0xa3,
0x82,0xa4,
0xbc,0xd9,
0xd9,0xca,
0x82,0xa5,
0x82,0xa6,
0x82,0xa7,
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