ctype-ujis.c
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:427k
源码类别:

MySQL数据库

开发平台:

Visual C++

  1.      0,     0,     0,0x5E73,0x5E74,     0,0x5E75,     0,
  2. 0x5E76,0x5E77,     0,     0,     0,0x5E78,     0,     0,
  3.      0,     0,     0,0x5E79,     0,0x5E7A,0x5E7B,     0,
  4.      0,     0,     0,0x5E7C,     0,     0,0x5E7D,     0,
  5.      0,     0,     0,     0,     0,     0,0x5E7E,0x5F21,
  6.      0,     0,     0,0x5F22,     0,     0,     0,     0,
  7. 0x5F23,     0,0x5F24,0x5F25,     0,     0,     0,     0,
  8.      0,0x5F26,     0,0x5F27,0x5F28,     0,     0,     0,
  9.      0,     0,     0,     0,0x5F29};
  10. /* page 34 0x8CB9-0x8D1B */
  11. static uint16 tab_uni_jisx021234[]={
  12. 0x5F2A,0x5F2B,     0,     0,     0,     0,     0,     0,
  13.      0,     0,     0,     0,0x5F2C,0x5F2D,     0,     0,
  14. 0x5F2E,     0,0x5F2F,     0,     0,     0,0x5F30,     0,
  15.      0,     0,     0,     0,0x5F32,0x5F31,     0,     0,
  16. 0x5F33,     0,     0,     0,0x5F34,     0,     0,     0,
  17. 0x5F35,     0,     0,     0,     0,     0,     0,0x5F36,
  18.      0,     0,     0,0x5F37,     0,     0,0x5F38,0x5F39,
  19.      0,0x5F3A,     0,     0,0x5F3B,     0,0x5F3C,0x5F3D,
  20.      0,     0,     0,     0,     0,0x5F3E,0x5F3F,     0,
  21. 0x5F40,     0,0x5F41,     0,     0,     0,     0,     0,
  22. 0x5F42,     0,     0,     0,     0,     0,     0,     0,
  23.      0,0x5F43,     0,     0,     0,     0,0x5F44,     0,
  24.      0,     0,0x5F45};
  25. /* page 35 0x8D65-0x8F65 */
  26. static uint16 tab_uni_jisx021235[]={
  27. 0x5F46,     0,     0,     0,0x5F47,     0,     0,0x5F48,
  28.      0,0x5F49,     0,     0,     0,     0,     0,     0,
  29.      0,     0,     0,     0,     0,     0,     0,     0,
  30.      0,     0,0x5F4A,     0,     0,0x5F4B,     0,0x5F4C,
  31.      0,     0,     0,0x5F4D,     0,     0,     0,     0,
  32. 0x5F4E,     0,     0,0x5F4F,0x5F50,     0,     0,     0,
  33. 0x5F51,     0,     0,     0,     0,     0,     0,     0,
  34.      0,0x5F52,0x5F53,0x5F54,     0,     0,     0,     0,
  35.      0,0x5F55,     0,     0,     0,     0,0x5F56,0x5F57,
  36.      0,     0,0x5F58,     0,     0,0x5F59,     0,     0,
  37. 0x5F5A,     0,0x5F5B,     0,0x5F5C,     0,0x5F5D,0x5F6F,
  38.      0,     0,     0,0x5F5E,     0,     0,     0,     0,
  39. 0x5F5F,0x5F60,0x5F61,0x5F62,     0,0x5F63,     0,     0,
  40.      0,0x5F64,     0,     0,0x5F65,     0,     0,0x5F66,
  41. 0x5F67,     0,0x5F68,     0,0x5F69,     0,     0,     0,
  42.      0,     0,     0,     0,     0,     0,     0,0x5F6A,
  43. 0x5F6B,     0,0x5F6C,     0,     0,     0,     0,0x5F6D,
  44.      0,     0,     0,0x5F6E,0x5F70,0x5F71,     0,0x5F72,
  45.      0,     0,     0,     0,     0,     0,     0,     0,
  46. 0x5F73,     0,     0,     0,0x5F74,     0,     0,0x5F75,
  47. 0x5F76,0x5F77,     0,     0,     0,     0,0x5F78,     0,
  48.      0,     0,     0,     0,0x5F79,     0,     0,0x5F7A,
  49.      0,0x5F7B,     0,     0,     0,     0,     0,     0,
  50.      0,     0,     0,0x5F7C,0x5F7D,0x5F7E,0x6021,     0,
  51.      0,0x6022,0x6023,     0,     0,     0,     0,     0,
  52.      0,     0,     0,     0,0x6024,     0,0x6025,     0,
  53.      0,0x6026,0x6027,0x6028,0x6029,     0,     0,     0,
  54. 0x602A,     0,     0,0x602B,0x602C,     0,     0,     0,
  55.      0,     0,     0,     0,     0,     0,0x602D,     0,
  56. 0x602E,0x602F,0x6030,     0,     0,     0,     0,0x6031,
  57.      0,     0,     0,     0,     0,     0,0x6032,0x6033,
  58. 0x6034,0x6035,     0,     0,0x6036,0x6037,     0,     0,
  59.      0,     0,     0,     0,0x6038,     0,     0,0x6039,
  60. 0x603A,     0,0x603B,0x603C,0x603D,     0,     0,     0,
  61.      0,     0,     0,     0,0x603E,0x603F,0x6040,     0,
  62.      0,     0,     0,     0,     0,0x6041,0x6042,     0,
  63.      0,     0,     0,     0,0x6043,     0,     0,     0,
  64.      0,     0,     0,0x6044,     0,0x6045,     0,     0,
  65. 0x6046,     0,     0,     0,     0,0x6047,0x6048,     0,
  66. 0x6049,0x604A,     0,     0,     0,0x604B,     0,     0,
  67.      0,     0,0x604C,     0,0x604D,     0,     0,     0,
  68. 0x604E,0x604F,     0,     0,     0,     0,0x6050,     0,
  69. 0x6051,     0,     0,     0,     0,0x6052,0x6053,     0,
  70.      0,     0,     0,0x6054,0x6055,     0,0x6056,0x6057,
  71.      0,     0,0x6058,     0,     0,     0,     0,     0,
  72.      0,     0,0x6059,     0,0x605A,     0,     0,0x605B,
  73.      0,     0,     0,     0,     0,     0,     0,0x605C,
  74.      0,     0,     0,     0,     0,     0,     0,     0,
  75.      0,     0,     0,0x605D,     0,     0,     0,     0,
  76. 0x6064,0x605E,     0,0x605F,0x6060,     0,     0,     0,
  77.      0,     0,0x6061,     0,0x6062,0x6063,     0,     0,
  78.      0,     0,     0,0x6065,     0,0x6066,     0,     0,
  79.      0,     0,0x6067,0x6068,     0,     0,     0,     0,
  80.      0,     0,0x6069,0x606A,     0,     0,     0,     0,
  81.      0,0x606B,0x606C,0x606D,     0,     0,     0,     0,
  82.      0,0x606E,     0,0x606F,0x6070,     0,0x6071,     0,
  83. 0x6072,     0,0x6073,0x6074,     0,     0,     0,0x6075,
  84. 0x6076,0x6077,     0,     0,     0,     0,     0,0x6078,
  85. 0x6079,0x607A,0x607B,     0,     0,0x607C,     0,     0,
  86.      0,     0,     0,0x607D,0x607E,     0,0x6121,     0,
  87.      0,     0,0x6122,     0,     0,     0,     0,     0,
  88.      0,     0,0x6123,     0,0x6124,0x6125,0x6126,0x6127,
  89. 0x6128,     0,     0,0x6129,     0,     0,     0,     0,
  90. 0x612A,0x612B,     0,     0,     0,     0,     0,     0,
  91. 0x612C};
  92. /* page 36 0x8F9D-0x9484 */
  93. static uint16 tab_uni_jisx021236[]={
  94. 0x612D,     0,     0,0x612E,0x612F,     0,     0,0x6130,
  95. 0x6131,0x6132,     0,     0,     0,     0,     0,     0,
  96.      0,     0,     0,     0,     0,     0,     0,     0,
  97. 0x6133,0x6134,     0,0x6135,     0,     0,     0,     0,
  98.      0,0x6136,     0,0x6137,0x6138,     0,     0,     0,
  99.      0,0x6139,     0,     0,     0,0x613A,0x613B,     0,
  100. 0x613C,     0,     0,0x613D,     0,0x613E,0x613F,     0,
  101. 0x6140,     0,     0,     0,     0,     0,     0,     0,
  102.      0,     0,     0,0x6141,     0,     0,0x6142,0x6143,
  103.      0,     0,     0,0x6144,     0,     0,     0,     0,
  104.      0,0x6145,     0,     0,0x6146,     0,     0,     0,
  105. 0x6147,0x6148,     0,     0,     0,     0,0x6149,     0,
  106.      0,0x614A,     0,     0,     0,0x614B,     0,0x614C,
  107.      0,     0,     0,0x614D,     0,     0,     0,0x614E,
  108.      0,     0,     0,     0,     0,     0,     0,     0,
  109.      0,     0,     0,0x614F,     0,     0,0x6150,     0,
  110.      0,     0,     0,     0,     0,     0,     0,     0,
  111.      0,     0,     0,0x6151,0x6152,0x6154,     0,0x6155,
  112. 0x6156,     0,0x6153,     0,     0,     0,0x6157,0x6158,
  113.      0,     0,0x6159,     0,     0,     0,     0,     0,
  114.      0,     0,0x615A,     0,     0,     0,0x615B,0x615C,
  115.      0,     0,     0,     0,     0,     0,     0,0x615D,
  116.      0,     0,     0,     0,     0,     0,     0,     0,
  117.      0,     0,     0,     0,     0,     0,0x615E,     0,
  118. 0x615F,     0,     0,     0,     0,0x6160,     0,     0,
  119.      0,0x6161,0x6162,     0,     0,     0,     0,0x6163,
  120.      0,     0,     0,0x6164,     0,     0,     0,0x6165,
  121.      0,     0,     0,     0,0x6166,     0,     0,     0,
  122.      0,     0,     0,     0,     0,     0,     0,     0,
  123. 0x6167,     0,     0,0x6168,     0,     0,0x6169,0x616A,
  124.      0,0x616B,     0,0x616C,     0,     0,     0,     0,
  125. 0x616D,     0,0x616E,0x616F,0x6170,     0,0x6171,     0,
  126.      0,     0,     0,0x6172,0x6173,0x6174,     0,     0,
  127. 0x6175,     0,     0,     0,     0,     0,     0,     0,
  128.      0,     0,     0,0x6176,     0,0x6177,0x6178,0x6179,
  129.      0,0x617A,     0,     0,     0,     0,     0,     0,
  130. 0x617B,0x617D,     0,     0,     0,     0,0x617E,0x6221,
  131. 0x6222,     0,0x6223,0x6224,     0,     0,     0,0x617C,
  132.      0,     0,     0,     0,     0,0x622D,     0,     0,
  133. 0x6225,     0,0x6226,0x6227,0x6228,     0,     0,0x6229,
  134. 0x622A,     0,0x622B,     0,     0,     0,     0,     0,
  135. 0x622C,     0,     0,     0,     0,     0,0x622F,     0,
  136.      0,     0,0x6230,0x6231,     0,     0,     0,0x6232,
  137.      0,0x622E,     0,     0,     0,     0,     0,     0,
  138.      0,0x6233,0x6234,0x6235,     0,     0,     0,0x6236,
  139. 0x6237,0x6238,     0,0x6239,     0,     0,     0,     0,
  140. 0x623A,     0,     0,0x623B,     0,     0,     0,0x623C,
  141.      0,0x623D,0x623E,0x623F,     0,0x6240,     0,0x6241,
  142.      0,0x6242,     0,0x6243,     0,0x6245,0x6246,     0,
  143. 0x6244,     0,0x6247,     0,0x6248,     0,     0,     0,
  144.      0,0x6249,0x624A,     0,0x624B,     0,     0,0x624C,
  145.      0,0x624D,0x624E,     0,0x624F,0x6250,     0,0x6251,
  146. 0x6252,     0,     0,     0,     0,     0,0x6253,     0,
  147.      0,     0,0x6254,0x6255,     0,     0,     0,     0,
  148.      0,     0,0x6256,     0,     0,     0,0x6257,     0,
  149.      0,     0,0x6258,     0,0x6259,0x625A,0x625B,     0,
  150.      0,     0,     0,     0,0x625C,     0,     0,0x625D,
  151.      0,     0,0x625E,     0,     0,     0,     0,     0,
  152. 0x625F,     0,     0,     0,     0,     0,     0,0x6260,
  153.      0,     0,     0,     0,0x6261,0x6262,0x6263,     0,
  154.      0,     0,     0,     0,0x6264,     0,0x6265,     0,
  155. 0x6266,0x6267,     0,     0,     0,0x6268,     0,     0,
  156.      0,0x6269,     0,     0,0x626A,     0,0x626B,0x626C,
  157. 0x626D,     0,     0,0x626E,     0,     0,     0,     0,
  158.      0,0x626F,     0,     0,0x6270,     0,     0,     0,
  159.      0,0x6271,     0,0x6272,     0,     0,     0,0x6273,
  160. 0x6274,0x6275,     0,0x6276,0x6277,0x6278,0x6279,     0,
  161.      0,0x627A,     0,     0,     0,     0,0x627B,0x627C,
  162. 0x627D,     0,0x627E,     0,     0,0x6321,0x6322,     0,
  163. 0x6323,     0,     0,     0,     0,     0,     0,     0,
  164.      0,     0,     0,     0,     0,     0,0x6324,0x6325,
  165.      0,     0,0x6326,     0,0x6327,0x6328,     0,     0,
  166.      0,0x6329,     0,     0,     0,     0,     0,0x632A,
  167. 0x632B,     0,     0,     0,0x632C,0x632D,     0,0x632E,
  168. 0x632F,0x6330,0x6331,0x6332,0x6333,     0,     0,     0,
  169.      0,     0,0x6334,     0,0x6335,     0,0x6336,     0,
  170. 0x6337,     0,     0,0x6338,0x6339,     0,     0,0x633A,
  171. 0x633B,0x633C,0x633D,     0,0x633E,0x633F,     0,0x6340,
  172.      0,     0,     0,0x6341,     0,0x6342,0x6343,     0,
  173.      0,0x6344,     0,0x6345,     0,     0,     0,0x6346,
  174. 0x6347,     0,     0,     0,     0,     0,0x6348,0x6349,
  175. 0x634A,0x634B,     0,0x634C,     0,     0,     0,     0,
  176.      0,0x634D,0x634E,0x634F,     0,     0,0x6350,     0,
  177. 0x6351,0x6352,     0,0x6353,0x6354,0x6355,     0,0x6356,
  178.      0,0x6357,     0,0x6358,     0,0x6359,0x635A,     0,
  179.      0,0x635B,0x635C,     0,     0,0x635D,     0,     0,
  180. 0x635E,0x635F,0x6360,     0,0x6361,     0,     0,     0,
  181.      0,     0,     0,0x6362,0x6363,     0,     0,0x6364,
  182. 0x6365,     0,     0,0x6366,0x6367,     0,     0,     0,
  183. 0x6368,     0,0x6369,0x636A,0x636B,     0,     0,     0,
  184.      0,0x636C,0x636D,0x636E,     0,     0,     0,     0,
  185. 0x636F,0x6370,0x6371,0x6372,0x6373,     0,0x6374,0x6375,
  186. 0x6376,     0,0x6377,     0,     0,     0,     0,     0,
  187.      0,     0,     0,0x6378,0x6379,0x637A,     0,     0,
  188. 0x637B,0x637C,     0,     0,     0,0x637D,     0,     0,
  189.      0,     0,0x637E,     0,0x6421,     0,     0,     0,
  190.      0,     0,0x6422,0x6423,     0,     0,     0,0x6424,
  191. 0x6425,     0,0x6426,0x6427,     0,     0,0x6428,     0,
  192.      0,     0,0x6429,     0,     0,0x642A,     0,     0,
  193.      0,0x642B,     0,0x642C,     0,0x642D,0x642E,0x642F,
  194. 0x6430,     0,0x6431,0x6432,0x6433,0x6434,0x6435,     0,
  195. 0x6436,0x6437,0x6438,0x6439,     0,     0,0x643A,0x643B,
  196. 0x643C,0x643D,     0,0x643E,     0,     0,0x643F,     0,
  197. 0x6440,     0,0x6441,0x6442,0x6443,     0,     0,0x6444,
  198. 0x6445,     0,0x6446,0x6447,0x6448,     0,0x6449,     0,
  199. 0x644A,     0,0x644B,0x644C,     0,     0,     0,0x644D,
  200.      0,0x644E,     0,0x644F,     0,     0,     0,     0,
  201.      0,     0,     0,     0,0x6450,     0,0x6451,     0,
  202.      0,     0,0x6452,0x6453,     0,0x6454,     0,     0,
  203.      0,     0,     0,0x6455,     0,     0,     0,     0,
  204. 0x6456,     0,     0,     0,0x6457,     0,     0,0x6458,
  205. 0x6459,     0,     0,     0,     0,     0,     0,0x645A,
  206. 0x645B,0x645C,0x645D,     0,0x645E,     0,     0,0x645F,
  207. 0x6460,     0,0x6461,     0,0x6462,0x6463,     0,     0,
  208.      0,     0,     0,     0,     0,     0,0x6464,0x6465,
  209.      0,0x6466,0x6467,     0,     0,     0,     0,     0,
  210.      0,     0,     0,     0,     0,     0,     0,     0,
  211.      0,     0,0x6468,0x6469,0x646A,     0,     0,     0,
  212.      0,     0,     0,0x646B,0x646C,0x646D,     0,     0,
  213. 0x646E,     0,0x646F,0x6470,     0,0x6471,     0,     0,
  214.      0,0x6472,     0,     0,     0,     0,     0,0x6473,
  215. 0x6474,     0,0x6475,     0,0x6476,0x6477,     0,     0,
  216. 0x6478,     0,0x6479,0x647A,0x647B,     0,0x647C,0x647D,
  217.      0,0x647E,     0,     0,     0,0x6521,     0,     0,
  218. 0x6522,     0,0x6523,0x6524,0x6525,0x6526,     0,     0,
  219.      0,     0,     0,0x6527,     0,0x6528,0x6529,     0,
  220. 0x652A,     0,0x652B,     0,     0,0x652C,     0,     0,
  221. 0x652D,     0,     0,0x652E,     0,     0,0x652F,     0,
  222.      0,0x6530,     0,     0,0x6531,     0,0x6532,0x6533,
  223.      0,0x6534,     0,0x6535,0x653B,     0,0x6536,     0,
  224.      0,     0,     0,     0,     0,     0,     0,0x6537,
  225. 0x6538,0x6539,     0,     0,     0,0x653A,     0,     0,
  226.      0,     0,     0,     0,0x653C,     0,     0,0x653D,
  227. 0x653E,0x653F,0x6540,     0,0x6541,0x6542,0x6543,0x6544,
  228. 0x6545,     0,     0,     0,     0,     0,0x6546,     0,
  229.      0,     0,     0,     0,0x6547,     0,     0,0x6548,
  230.      0,0x6549,0x654A,     0,     0,0x654B,     0,     0,
  231.      0,0x654C,0x654D,     0,     0,     0,     0,     0,
  232.      0,     0,     0,     0,     0,     0,     0,     0,
  233.      0,     0,0x654F,0x6550,0x654E,0x6551,0x6552,     0,
  234. 0x6553,     0,     0,     0,0x6554,0x6555,     0,0x6556,
  235.      0,     0,     0,0x6557,0x6558,     0,     0,     0,
  236. 0x6559,0x655A,0x655B,     0,     0,     0,     0,     0,
  237. 0x655C,0x655D,0x655E,     0,     0,     0,     0,     0,
  238.      0,     0,0x655F,     0,     0,     0,     0,     0,
  239.      0,     0,     0,     0,     0,     0,     0,     0,
  240.      0,0x6560,0x6561,     0,0x6562,0x6563,0x6564,0x6565,
  241.      0,     0,     0,     0,     0,     0,0x6566,     0,
  242. 0x6568,     0,0x6567,     0,     0,     0,0x6569,     0,
  243. 0x656A,     0,     0,0x656B,     0,0x656C,     0,0x656D,
  244.      0,     0,     0,     0,     0,     0,     0,     0,
  245. 0x656E,     0,     0,     0,0x656F,     0,     0,0x6570,
  246.      0,     0,0x6571,     0,0x6572,     0,0x6573,     0,
  247.      0,     0,     0,0x6574,     0,     0,0x6575,     0,
  248. 0x6576,0x6577,0x6578,     0,0x6579,0x657A,     0,     0,
  249.      0,     0,     0,     0,     0,     0,     0,     0,
  250.      0,     0,     0,     0,     0,     0,0x657C,0x657B
  251. };
  252. /* page 37 0x9578-0x95E6 */
  253. static uint16 tab_uni_jisx021237[]={
  254. 0x657D,0x657E,     0,     0,     0,     0,0x6621,     0,
  255.      0,     0,     0,     0,0x6622,     0,     0,     0,
  256. 0x6623,     0,     0,     0,0x6624,0x6625,0x6626,     0,
  257.      0,     0,     0,     0,     0,     0,     0,     0,
  258.      0,     0,     0,     0,     0,0x6627,0x6628,0x6629,
  259.      0,0x662A,     0,     0,     0,     0,0x662B,     0,
  260.      0,0x662C,     0,0x662D,0x662E,     0,     0,     0,
  261.      0,     0,     0,     0,0x662F,     0,0x6630,     0,
  262.      0,     0,0x6631,     0,     0,0x6632,     0,0x6633,
  263.      0,     0,     0,     0,     0,     0,0x6634,     0,
  264. 0x6635,0x6636,     0,0x6637,     0,     0,     0,     0,
  265. 0x6638,0x6639,0x663A,0x663B,     0,     0,     0,     0,
  266.      0,0x663C,0x663D,     0,     0,0x663E,0x663F,0x6640,
  267. 0x6641,     0,     0,     0,0x6642,     0,0x6643};
  268. /* page 38 0x961D-0x986C */
  269. static uint16 tab_uni_jisx021238[]={
  270. 0x6644,0x6645,     0,     0,     0,0x6646,     0,0x6647,
  271. 0x6648,0x6649,     0,     0,     0,     0,     0,0x664A,
  272.      0,     0,     0,     0,0x664B,     0,0x664C,     0,
  273.      0,     0,0x664D,0x664E,0x664F,0x6650,     0,0x6651,
  274. 0x6652,     0,     0,     0,0x6653,     0,     0,     0,
  275.      0,     0,     0,     0,     0,     0,     0,     0,
  276.      0,     0,     0,     0,     0,0x6654,     0,0x6655,
  277.      0,0x6656,0x6657,0x6658,     0,     0,     0,     0,
  278.      0,     0,     0,     0,0x6659,     0,     0,     0,
  279.      0,     0,     0,     0,     0,     0,     0,     0,
  280.      0,0x665A,     0,     0,     0,     0,     0,0x665B,
  281.      0,     0,     0,     0,     0,     0,0x665C,0x665D,
  282.      0,0x665E,0x665F,     0,0x6660,0x6661,0x6662,0x6663,
  283.      0,     0,     0,     0,0x6664,     0,     0,     0,
  284.      0,     0,     0,     0,0x6665,     0,     0,     0,
  285.      0,0x6666,     0,     0,     0,0x6667,     0,     0,
  286. 0x6668,     0,0x6669,     0,     0,     0,     0,0x666A,
  287. 0x666B,0x666C,     0,     0,0x666D,     0,     0,     0,
  288.      0,0x666E,0x666F,     0,     0,     0,0x6670,     0,
  289.      0,     0,     0,     0,     0,0x6671,     0,     0,
  290.      0,     0,     0,     0,     0,     0,     0,     0,
  291.      0,     0,     0,     0,     0,0x6672,     0,     0,
  292.      0,     0,     0,     0,     0,0x6673,     0,     0,
  293.      0,     0,     0,0x6675,     0,0x6676,     0,     0,
  294. 0x6677,0x6678,0x6679,     0,     0,     0,     0,     0,
  295.      0,     0,     0,     0,0x667A,     0,     0,     0,
  296.      0,     0,0x667B,     0,0x667C,     0,     0,     0,
  297.      0,     0,     0,     0,     0,0x667D,     0,     0,
  298.      0,     0,     0,     0,     0,0x667E,0x6721,     0,
  299. 0x6722,     0,     0,     0,0x6723,     0,     0,     0,
  300.      0,     0,     0,     0,     0,     0,     0,     0,
  301.      0,     0,     0,     0,     0,0x6724,0x6725,     0,
  302. 0x6726,     0,     0,     0,0x6727,0x6728,0x6729,     0,
  303.      0,     0,     0,0x672A,     0,     0,     0,     0,
  304.      0,     0,     0,     0,0x672B,     0,0x672C,     0,
  305.      0,     0,     0,     0,     0,     0,     0,     0,
  306.      0,     0,     0,     0,0x672D,     0,0x672E,     0,
  307.      0,     0,     0,     0,     0,0x672F,     0,     0,
  308.      0,0x6730,0x6731,     0,     0,     0,     0,     0,
  309. 0x6732,     0,0x6733,0x6734,     0,0x6735,0x6736,     0,
  310.      0,     0,     0,     0,     0,     0,0x6737,     0,
  311.      0,     0,0x6738,     0,     0,0x6739,     0,     0,
  312.      0,0x673A,     0,     0,     0,     0,0x673B,     0,
  313.      0,0x673C,0x673D,0x673E,     0,     0,0x673F,     0,
  314. 0x6740,     0,0x6741,0x6742,     0,     0,     0,     0,
  315.      0,     0,     0,     0,0x6743,     0,     0,     0,
  316.      0,     0,     0,     0,     0,     0,     0,     0,
  317. 0x6744,0x6745,0x6746,     0,0x6747,0x6748,     0,     0,
  318.      0,0x6749,0x674A,     0,     0,0x674B,     0,     0,
  319.      0,     0,     0,     0,     0,     0,     0,0x674C,
  320.      0,0x674D,     0,     0,0x674E,0x674F,     0,     0,
  321. 0x6750,0x6751,     0,0x6752,0x6753,0x6754,     0,0x6755,
  322.      0,0x6756,0x6757,     0,0x6758,     0,     0,0x6759,
  323. 0x675A,     0,0x675B,     0,0x675C,0x675D,     0,0x675E,
  324. 0x675F,0x6760,     0,0x6761,0x6762,     0,     0,0x6763,
  325.      0,     0,0x6764,0x6765,0x6766,     0,0x676A,     0,
  326. 0x6767,0x6768,     0,0x6769,0x676B,     0,     0,0x676C,
  327.      0,     0,     0,     0,     0,     0,     0,     0,
  328.      0,     0,0x676D,     0,0x676E,     0,     0,0x676F,
  329.      0,     0,0x6770,0x6771,     0,0x6772,     0,     0,
  330.      0,     0,     0,     0,     0,     0,     0,     0,
  331.      0,     0,0x6773,     0,     0,0x6774,     0,     0,
  332. 0x6776,0x6777,     0,     0,     0,     0,     0,0x6778,
  333.      0,0x6779,     0,     0,0x6775,     0,     0,0x677A,
  334.      0,0x677B,     0,0x677C,     0,     0,0x677D,     0,
  335. 0x6828,0x677E,     0,     0,     0,     0,0x6821,     0,
  336.      0,0x6822,0x6823,0x6824,     0,0x6825,0x6826,     0,
  337. 0x6827,     0,     0,     0,     0,     0,     0,     0,
  338.      0,0x6829,     0,     0,     0,     0,     0,0x682A,
  339.      0,     0,0x682B,     0,     0,0x682C,     0,     0,
  340.      0,     0,     0,     0,0x682D,0x682E,0x682F,     0,
  341.      0,0x6830,0x6831,     0,0x6832,0x6833,     0,     0,
  342.      0,     0,     0,     0,     0,0x6834,0x6835,     0,
  343. 0x6836,0x6837,     0,     0,     0,0x6838,     0,0x6839
  344. };
  345. /* page 39 0x98AB-0x98CC */
  346. static uint16 tab_uni_jisx021239[]={
  347. 0x683A,     0,0x683B,0x683C,     0,0x683D,     0,     0,
  348.      0,0x683E,     0,     0,0x683F,0x6840,     0,0x6841,
  349. 0x6842,     0,     0,     0,0x6843,     0,     0,0x6844,
  350.      0,     0,0x6845,     0,     0,0x6846,     0,     0,
  351.      0,0x6847};
  352. /* page 40 0x98E1-0x9960 */
  353. static uint16 tab_uni_jisx021240[]={
  354. 0x6848,     0,0x6849,     0,0x684A,0x684B,0x684C,     0,
  355.      0,0x684D,     0,     0,     0,     0,     0,     0,
  356.      0,     0,0x684E,     0,     0,0x684F,     0,     0,
  357.      0,     0,     0,     0,     0,     0,     0,     0,
  358.      0,0x6850,     0,     0,     0,     0,0x6851,0x6852,
  359.      0,     0,     0,     0,     0,     0,     0,     0,
  360. 0x6853,     0,     0,     0,0x6854,0x6855,0x6856,     0,
  361.      0,0x6857,0x6858,0x6859,     0,     0,0x685A,     0,
  362.      0,0x685B,     0,     0,     0,0x685C,0x685D,     0,
  363.      0,     0,0x685E,     0,     0,     0,     0,     0,
  364. 0x685F,0x6860,0x6861,0x6862,0x6863,     0,     0,     0,
  365. 0x6864,0x6865,0x6866,0x6867,     0,     0,     0,0x6868,
  366. 0x6869,     0,     0,     0,     0,0x686A,0x686B,0x686C,
  367.      0,     0,     0,     0,0x686D,0x686E,     0,     0,
  368.      0,     0,     0,0x686F,     0,     0,     0,0x6870,
  369. 0x6871,     0,0x6872,0x6873,     0,0x6874,0x6875,0x6876
  370. };
  371. /* page 41 0x999B-0x9A5D */
  372. static uint16 tab_uni_jisx021241[]={
  373. 0x6877,     0,0x6878,     0,0x6879,     0,     0,     0,
  374.      0,     0,     0,0x687A,     0,     0,     0,     0,
  375.      0,     0,     0,     0,     0,0x687B,0x687C,0x687D,
  376.      0,     0,0x687E,     0,     0,     0,0x6921,0x6922,
  377.      0,     0,0x6923,     0,0x6924,     0,     0,     0,
  378. 0x6925,     0,     0,     0,     0,     0,0x6926,     0,
  379.      0,     0,     0,     0,     0,     0,     0,     0,
  380. 0x6927,0x6928,     0,     0,     0,     0,0x6929,0x692A,
  381.      0,0x692B,     0,0x692C,     0,     0,     0,     0,
  382.      0,     0,     0,     0,0x692D,     0,     0,0x692E,
  383. 0x692F,0x6930,     0,     0,     0,0x6931,     0,     0,
  384.      0,0x6932,0x6933,     0,     0,     0,0x6934,     0,
  385.      0,     0,0x6935,0x6936,     0,     0,     0,0x6937,
  386. 0x6938,0x6939,     0,     0,     0,     0,     0,     0,
  387. 0x693A,0x693B,     0,     0,     0,0x693C,0x693D,     0,
  388.      0,     0,     0,0x693E,     0,     0,     0,     0,
  389.      0,     0,     0,0x693F,     0,0x6940,     0,0x6941,
  390. 0x6942,0x6943,     0,     0,0x6944,     0,     0,     0,
  391.      0,     0,0x6945,0x6946,     0,     0,     0,     0,
  392. 0x6947,     0,0x6948,0x6949,     0,0x694A,     0,     0,
  393.      0,     0,     0,     0,     0,     0,0x694C,     0,
  394.      0,0x694D,     0,     0,0x694B,     0,     0,0x694E,
  395. 0x694F,0x6950,     0,0x6951,     0,     0,0x6952,     0,
  396.      0,0x6953,     0,0x6954,     0,     0,     0,     0,
  397.      0,     0,0x6955};
  398. /* page 42 0x9AAA-0x9C7B */
  399. static uint16 tab_uni_jisx021242[]={
  400. 0x6956,     0,0x6957,     0,0x6958,0x6959,     0,     0,
  401. 0x695A,     0,0x695B,0x695C,0x695D,     0,     0,0x695E,
  402.      0,0x695F,     0,     0,0x6960,0x6961,     0,0x6962,
  403.      0,0x6963,     0,     0,0x6964,     0,0x6965,     0,
  404.      0,     0,     0,     0,0x6966,     0,0x6967,     0,
  405. 0x6968,     0,     0,0x6969,0x696A,0x696B,     0,     0,
  406.      0,0x696C,0x696D,     0,     0,     0,0x696E,     0,
  407.      0,     0,0x696F,0x6970,     0,0x6971,     0,0x6972,
  408.      0,     0,0x6973,     0,     0,     0,     0,     0,
  409. 0x6974,0x6975,     0,0x6976,     0,     0,     0,0x6977,
  410. 0x6978,     0,     0,0x6979,     0,0x697A,0x697B,0x697C,
  411. 0x697D,0x697E,0x6A21,0x6A22,     0,     0,0x6A23,0x6A24,
  412.      0,0x6A25,0x6A26,0x6A27,0x6A28,     0,0x6A29,     0,
  413. 0x6A2A,     0,     0,     0,0x6A2B,     0,     0,0x6A2C,
  414.      0,0x6A2D,0x6A2E,     0,     0,     0,0x6A2F,     0,
  415.      0,     0,     0,     0,0x6A30,     0,     0,     0,
  416.      0,0x6A31,     0,0x6A32,     0,     0,     0,     0,
  417.      0,0x6A33,0x6A34,0x6A35,     0,0x6A36,     0,0x6A37,
  418. 0x6A38,     0,     0,0x6A39,     0,     0,     0,     0,
  419.      0,     0,     0,     0,     0,     0,0x6A3A,     0,
  420.      0,0x6A3B,0x6A3C,     0,     0,     0,     0,     0,
  421.      0,     0,     0,0x6A3D,0x6A3E,0x6A3F,     0,     0,
  422.      0,0x6A40,     0,     0,0x6A41,     0,     0,0x6A42,
  423.      0,0x6A43,     0,0x6A44,0x6A45,     0,0x6A46,     0,
  424. 0x6A47,0x6A48,0x6A49,0x6A4A,0x6A4B,     0,     0,     0,
  425.      0,0x6A4C,     0,0x6A4D,     0,0x6A4E,0x6A4F,0x6A50,
  426.      0,     0,     0,     0,     0,0x6A51,0x6A52,     0,
  427.      0,     0,0x6A53,0x6A54,0x6A55,0x6A56,     0,0x6A57,
  428. 0x6A58,0x6A59,     0,0x6A5A,     0,0x6A5B,0x6A5C,     0,
  429.      0,     0,0x6A5D,     0,     0,     0,     0,     0,
  430. 0x6A5E,     0,     0,0x6A5F,0x6A60,     0,     0,     0,
  431.      0,     0,     0,     0,0x6A61,0x6A62,     0,0x6A63,
  432.      0,     0,0x6A64,     0,     0,     0,0x6A65,0x6A66,
  433. 0x6A67,     0,     0,     0,     0,0x6A68,0x6A69,     0,
  434.      0,0x6A6A,0x6A6B,     0,0x6A6C,0x6A6D,     0,0x6A6E,
  435.      0,     0,     0,     0,     0,0x6A6F,0x6A70,     0,
  436.      0,     0,     0,     0,0x6A71,     0,0x6A72,     0,
  437.      0,     0,     0,     0,     0,0x6A73,0x6A74,     0,
  438.      0,     0,     0,0x6A75,     0,0x6A76,     0,     0,
  439.      0,     0,     0,0x6A77,     0,0x6A78,     0,     0,
  440. 0x6A79,0x6A7A,     0,     0,     0,0x6A7B,     0,     0,
  441.      0,0x6A7C,     0,     0,     0,0x6A7D,0x6A7E,0x6B21,
  442. 0x6B22,     0,     0,0x6B23,     0,0x6B24,0x6B25,     0,
  443. 0x6B26,     0,     0,     0,     0,     0,     0,     0,
  444.      0,0x6B27,     0,     0,     0,0x6B28,     0,0x6B29,
  445.      0,     0,     0,     0,0x6B2A,     0,0x6B2B,0x6B2C,
  446. 0x6B2D,     0,0x6B2E,     0,0x6B2F,     0,     0,     0,
  447. 0x6B30,0x6B31,     0,     0,0x6B32,0x6B33,0x6B34,0x6B35,
  448. 0x6B36,     0,     0,     0,     0,     0,     0,0x6B37,
  449.      0,     0,     0,0x6B38,0x6B39,0x6B3A,     0,     0,
  450.      0,     0,     0,0x6B3B,     0,     0,     0,0x6B3C,
  451.      0,0x6B3D,0x6B3E,0x6B3F,     0,     0,     0,0x6B40,
  452. 0x6B41,     0,     0,     0,0x6B42,0x6B43,0x6B44,     0,
  453.      0,0x6B45,0x6B46,     0,0x6B47,     0,0x6B48,     0,
  454.      0,0x6B49,0x6B50,0x6B4A,0x6B4B,0x6B4C,     0,     0,
  455.      0,0x6B4D,     0,     0,     0,     0,0x6B52,0x6B4E,
  456. 0x6B4F,0x6B51,     0,     0,0x6B53,     0,0x6B54,     0,
  457. 0x6B55,     0,     0,0x6B56,     0,0x6B57,     0,     0,
  458.      0,0x6B58};
  459. /* page 43 0x9CE6-0x9E1D */
  460. static uint16 tab_uni_jisx021243[]={
  461. 0x6B59,     0,     0,     0,     0,     0,     0,     0,
  462.      0,     0,     0,     0,0x6B5A,     0,     0,     0,
  463.      0,0x6B5B,     0,0x6B5C,     0,     0,     0,     0,
  464.      0,     0,     0,     0,0x6B5E,     0,     0,     0,
  465.      0,     0,     0,     0,     0,0x6B5D,     0,     0,
  466.      0,     0,     0,0x6B5F,     0,     0,     0,     0,
  467.      0,0x6B60,0x6B61,     0,     0,     0,0x6B62,0x6B63,
  468. 0x6B64,     0,     0,     0,     0,     0,     0,     0,
  469.      0,     0,     0,     0,     0,     0,     0,     0,
  470.      0,0x6B65,0x6B66,     0,0x6B67,0x6B68,0x6B69,     0,
  471.      0,     0,     0,     0,0x6B6A,     0,0x6B6B,0x6B6D,
  472.      0,     0,     0,     0,0x6B6E,0x6B6F,     0,0x6B6C,
  473.      0,0x6B70,     0,     0,0x6B71,     0,     0,     0,
  474.      0,     0,     0,     0,     0,0x6B72,0x6B73,     0,
  475.      0,     0,     0,     0,     0,     0,     0,     0,
  476.      0,0x6B74,     0,     0,0x6B76,0x6B75,     0,0x6B77,
  477.      0,     0,     0,0x6B78,0x6B79,0x6B7A,     0,     0,
  478.      0,     0,0x6B7B,     0,     0,     0,     0,     0,
  479. 0x6B7C,0x6B7D,     0,     0,     0,0x6B7E,0x6C21,     0,
  480. 0x6C22,     0,     0,     0,     0,0x6C23,0x6C24,     0,
  481. 0x6C25,     0,     0,     0,0x6C26,     0,     0,0x6C27,
  482. 0x6C28,     0,     0,     0,0x6C29,0x6C2A,     0,0x6C2B,
  483. 0x6C2C,0x6C2D,0x6C2E,     0,     0,     0,     0,     0,
  484.      0,     0,     0,0x6C2F,     0,     0,     0,     0,
  485.      0,     0,     0,     0,0x6C30,     0,0x6C31,     0,
  486. 0x6C32,     0,     0,0x6C33,     0,     0,     0,0x6C34,
  487.      0,     0,     0,0x6C35,     0,     0,0x6C36,     0,
  488.      0,0x6C37,     0,     0,     0,0x6C38,     0,     0,
  489.      0,0x6C39,     0,0x6C3A,0x6C3B,     0,     0,     0,
  490.      0,     0,     0,     0,     0,     0,0x6C3C,0x6C3D,
  491. 0x6C3E,0x6C3F,     0,     0,0x6C40,     0,     0,     0,
  492. 0x6C41,0x6C42,0x6C43,     0,     0,     0,     0,0x6C44,
  493.      0,0x6C45,     0,0x6C46,     0,0x6C47,     0,     0,
  494. 0x6C48,     0,0x6C49,     0,     0,0x6C4A,0x6C4B,     0,
  495.      0,     0,     0,     0,     0,     0,     0,     0,
  496. 0x6C4C,     0,     0,     0,0x6C4E,     0,     0,     0,
  497.      0,0x6C4F,     0,     0,0x6C4D,     0,     0,     0,
  498. 0x6C50,     0,0x6C51,0x6C52,0x6C53,     0,     0,0x6C54,
  499. 0x6C55,     0,     0,0x6C56,     0,     0,0x6C57,0x6C58
  500. };
  501. /* page 44 0x9E7A-0x9FA5 */
  502. static uint16 tab_uni_jisx021244[]={
  503. 0x6C59,0x6C5A,0x6C5B,     0,     0,     0,0x6C5C,     0,
  504. 0x6C5D,0x6C5E,0x6C5F,0x6C60,     0,0x6C61,     0,     0,
  505.      0,     0,     0,     0,0x6C62,0x6C63,     0,     0,
  506.      0,     0,     0,     0,0x6C64,     0,0x6C65,     0,
  507.      0,0x6C66,     0,     0,0x6C67,     0,     0,     0,
  508.      0,     0,0x6C68,     0,     0,     0,0x6C69,     0,
  509.      0,     0,0x6C6A,     0,0x6C6B,0x6C6C,0x6C6D,     0,
  510.      0,0x6C6E,0x6C6F,0x6C70,     0,     0,     0,     0,
  511.      0,     0,     0,     0,     0,     0,     0,     0,
  512.      0,     0,     0,     0,0x6C71,     0,0x6C72,     0,
  513.      0,0x6C73,     0,     0,     0,     0,     0,     0,
  514.      0,     0,     0,0x6C74,     0,     0,     0,     0,
  515.      0,     0,     0,     0,     0,0x6C75,     0,     0,
  516.      0,     0,0x6C76,     0,     0,0x6C77,     0,     0,
  517.      0,     0,0x6C78,0x6C79,0x6C7A,     0,0x6C7B,0x6C7C,
  518. 0x6C7D,     0,     0,0x6C7E,     0,     0,0x6D21,     0,
  519.      0,     0,     0,     0,     0,0x6D22,     0,     0,
  520. 0x6D23,0x6D24,     0,     0,     0,     0,     0,0x6D25,
  521.      0,     0,     0,     0,     0,0x6D26,0x6D27,0x6D28,
  522. 0x6D29,     0,0x6D2A,     0,0x6D2B,0x6D2C,     0,0x6D2D,
  523. 0x6D2E,0x6D2F,     0,     0,     0,0x6D30,     0,     0,
  524. 0x6D31,     0,     0,     0,0x6D32,     0,     0,     0,
  525. 0x6D33,0x6D34,     0,     0,     0,0x6D35,     0,0x6D36,
  526. 0x6D37,     0,0x6D38,     0,     0,0x6D39,     0,0x6D3A,
  527. 0x6D3B,     0,0x6D3C,0x6D3D,     0,0x6D3E,     0,0x6D3F,
  528.      0,0x6D40,0x6D41,0x6D42,0x6D43,0x6D44,     0,     0,
  529.      0,     0,     0,     0,     0,     0,     0,     0,
  530.      0,0x6D45,     0,0x6D46,0x6D47,0x6D48,0x6D49,     0,
  531. 0x6D4A,     0,     0,0x6D4B,0x6D4C,     0,     0,     0,
  532.      0,     0,     0,     0,     0,     0,0x6D4D,0x6D4E,
  533.      0,     0,     0,0x6D4F,0x6D50,0x6D51,0x6D52,0x6D53,
  534.      0,0x6D54,     0,0x6D55,     0,     0,     0,     0,
  535. 0x6D56,     0,     0,0x6D57,     0,     0,     0,     0,
  536.      0,     0,     0,     0,     0,     0,     0,     0,
  537.      0,     0,     0,     0,     0,0x6D58,0x6D59,0x6D5A,
  538. 0x6D5B,     0,0x6D5C,     0,0x6D5D,0x6D5E,     0,     0,
  539.      0,     0,     0,     0,0x6D5F,     0,     0,0x6D60,
  540. 0x6D61,0x6D62,     0,0x6D63};
  541. static int
  542. my_uni_jisx0212_onechar(int code){
  543.     if ((code>=0x007E)&&(code<=0x007E))
  544.       return(tab_uni_jisx02120[code-0x007E]);
  545.     if ((code>=0x00A1)&&(code<=0x017E))
  546.       return(tab_uni_jisx02121[code-0x00A1]);
  547.     if ((code>=0x01CD)&&(code<=0x01DC))
  548.       return(tab_uni_jisx02122[code-0x01CD]);
  549.     if ((code>=0x01F5)&&(code<=0x01F5))
  550.       return(tab_uni_jisx02123[code-0x01F5]);
  551.     if ((code>=0x02C7)&&(code<=0x02DD))
  552.       return(tab_uni_jisx02124[code-0x02C7]);
  553.     if ((code>=0x0384)&&(code<=0x0390))
  554.       return(tab_uni_jisx02125[code-0x0384]);
  555.     if ((code>=0x03AA)&&(code<=0x03CE))
  556.       return(tab_uni_jisx02126[code-0x03AA]);
  557.     if ((code>=0x0402)&&(code<=0x040F))
  558.       return(tab_uni_jisx02127[code-0x0402]);
  559.     if ((code>=0x0452)&&(code<=0x045F))
  560.       return(tab_uni_jisx02128[code-0x0452]);
  561.     if ((code>=0x2116)&&(code<=0x2122))
  562.       return(tab_uni_jisx02129[code-0x2116]);
  563.     if ((code>=0x4E02)&&(code<=0x4F19))
  564.       return(tab_uni_jisx021210[code-0x4E02]);
  565.     if ((code>=0x4F2E)&&(code<=0x5166))
  566.       return(tab_uni_jisx021211[code-0x4F2E]);
  567.     if ((code>=0x517E)&&(code<=0x5515))
  568.       return(tab_uni_jisx021212[code-0x517E]);
  569.     if ((code>=0x552A)&&(code<=0x5566))
  570.       return(tab_uni_jisx021213[code-0x552A]);
  571.     if ((code>=0x557F)&&(code<=0x5C36))
  572.       return(tab_uni_jisx021214[code-0x557F]);
  573.     if ((code>=0x5C59)&&(code<=0x5EEB))
  574.       return(tab_uni_jisx021215[code-0x5C59]);
  575.     if ((code>=0x5F02)&&(code<=0x6149))
  576.       return(tab_uni_jisx021216[code-0x5F02]);
  577.     if ((code>=0x615E)&&(code<=0x6290))
  578.       return(tab_uni_jisx021217[code-0x615E]);
  579.     if ((code>=0x62A6)&&(code<=0x679B))
  580.       return(tab_uni_jisx021218[code-0x62A6]);
  581.     if ((code>=0x67B0)&&(code<=0x67F9))
  582.       return(tab_uni_jisx021219[code-0x67B0]);
  583.     if ((code>=0x6814)&&(code<=0x6917))
  584.       return(tab_uni_jisx021220[code-0x6814]);
  585.     if ((code>=0x6931)&&(code<=0x6D3F))
  586.       return(tab_uni_jisx021221[code-0x6931]);
  587.     if ((code>=0x6D57)&&(code<=0x6E04))
  588.       return(tab_uni_jisx021222[code-0x6D57]);
  589.     if ((code>=0x6E1E)&&(code<=0x6ECF))
  590.       return(tab_uni_jisx021223[code-0x6E1E]);
  591.     if ((code>=0x6EEB)&&(code<=0x70E4))
  592.       return(tab_uni_jisx021224[code-0x6EEB]);
  593.     if ((code>=0x70FA)&&(code<=0x71DC))
  594.       return(tab_uni_jisx021225[code-0x70FA]);
  595.     if ((code>=0x71F8)&&(code<=0x7E9E))
  596.       return(tab_uni_jisx021226[code-0x71F8]);
  597.     if ((code>=0x7F3B)&&(code<=0x8044))
  598.       return(tab_uni_jisx021227[code-0x7F3B]);
  599.     if ((code>=0x8060)&&(code<=0x8357))
  600.       return(tab_uni_jisx021228[code-0x8060]);
  601.     if ((code>=0x8370)&&(code<=0x8419))
  602.       return(tab_uni_jisx021229[code-0x8370]);
  603.     if ((code>=0x842F)&&(code<=0x8880))
  604.       return(tab_uni_jisx021230[code-0x842F]);
  605.     if ((code>=0x8898)&&(code<=0x89BC))
  606.       return(tab_uni_jisx021231[code-0x8898]);
  607.     if ((code>=0x89D4)&&(code<=0x8B9F))
  608.       return(tab_uni_jisx021232[code-0x89D4]);
  609.     if ((code>=0x8C38)&&(code<=0x8CA4))
  610.       return(tab_uni_jisx021233[code-0x8C38]);
  611.     if ((code>=0x8CB9)&&(code<=0x8D1B))
  612.       return(tab_uni_jisx021234[code-0x8CB9]);
  613.     if ((code>=0x8D65)&&(code<=0x8F65))
  614.       return(tab_uni_jisx021235[code-0x8D65]);
  615.     if ((code>=0x8F9D)&&(code<=0x9484))
  616.       return(tab_uni_jisx021236[code-0x8F9D]);
  617.     if ((code>=0x9578)&&(code<=0x95E6))
  618.       return(tab_uni_jisx021237[code-0x9578]);
  619.     if ((code>=0x961D)&&(code<=0x986C))
  620.       return(tab_uni_jisx021238[code-0x961D]);
  621.     if ((code>=0x98AB)&&(code<=0x98CC))
  622.       return(tab_uni_jisx021239[code-0x98AB]);
  623.     if ((code>=0x98E1)&&(code<=0x9960))
  624.       return(tab_uni_jisx021240[code-0x98E1]);
  625.     if ((code>=0x999B)&&(code<=0x9A5D))
  626.       return(tab_uni_jisx021241[code-0x999B]);
  627.     if ((code>=0x9AAA)&&(code<=0x9C7B))
  628.       return(tab_uni_jisx021242[code-0x9AAA]);
  629.     if ((code>=0x9CE6)&&(code<=0x9E1D))
  630.       return(tab_uni_jisx021243[code-0x9CE6]);
  631.     if ((code>=0x9E7A)&&(code<=0x9FA5))
  632.       return(tab_uni_jisx021244[code-0x9E7A]);
  633.   return(0);
  634. }
  635. /* page 0 0x222F-0x2244 */
  636. static uint16 tab_jisx0212_uni0[]={
  637. 0x02D8,0x02C7,0x00B8,0x02D9,0x02DD,0x00AF,0x02DB,0x02DA,
  638. 0x007E,0x0384,0x0385,     0,     0,     0,     0,     0,
  639.      0,     0,     0,0x00A1,0x00A6,0x00BF};
  640. /* page 1 0x226B-0x2271 */
  641. static uint16 tab_jisx0212_uni1[]={
  642. 0x00BA,0x00AA,0x00A9,0x00AE,0x2122,0x00A4,0x2116};
  643. /* page 2 0x2661-0x267C */
  644. static uint16 tab_jisx0212_uni2[]={
  645. 0x0386,0x0388,0x0389,0x038A,0x03AA,     0,0x038C,     0,
  646. 0x038E,0x03AB,     0,0x038F,     0,     0,     0,     0,
  647. 0x03AC,0x03AD,0x03AE,0x03AF,0x03CA,0x0390,0x03CC,0x03C2,
  648. 0x03CD,0x03CB,0x03B0,0x03CE};
  649. /* page 3 0x2742-0x274E */
  650. static uint16 tab_jisx0212_uni3[]={
  651. 0x0402,0x0403,0x0404,0x0405,0x0406,0x0407,0x0408,0x0409,
  652. 0x040A,0x040B,0x040C,0x040E,0x040F};
  653. /* page 4 0x2772-0x277E */
  654. static uint16 tab_jisx0212_uni4[]={
  655. 0x0452,0x0453,0x0454,0x0455,0x0456,0x0457,0x0458,0x0459,
  656. 0x045A,0x045B,0x045C,0x045E,0x045F};
  657. /* page 5 0x2921-0x2950 */
  658. static uint16 tab_jisx0212_uni5[]={
  659. 0x00C6,0x0110,     0,0x0126,     0,0x0132,     0,0x0141,
  660. 0x013F,     0,0x014A,0x00D8,0x0152,     0,0x0166,0x00DE,
  661.      0,     0,     0,     0,     0,     0,     0,     0,
  662.      0,     0,     0,     0,     0,     0,     0,     0,
  663. 0x00E6,0x0111,0x00F0,0x0127,0x0131,0x0133,0x0138,0x0142,
  664. 0x0140,0x0149,0x014B,0x00F8,0x0153,0x00DF,0x0167,0x00FE
  665. };
  666. /* page 6 0x2A21-0x2A77 */
  667. static uint16 tab_jisx0212_uni6[]={
  668. 0x00C1,0x00C0,0x00C4,0x00C2,0x0102,0x01CD,0x0100,0x0104,
  669. 0x00C5,0x00C3,0x0106,0x0108,0x010C,0x00C7,0x010A,0x010E,
  670. 0x00C9,0x00C8,0x00CB,0x00CA,0x011A,0x0116,0x0112,0x0118,
  671.      0,0x011C,0x011E,0x0122,0x0120,0x0124,0x00CD,0x00CC,
  672. 0x00CF,0x00CE,0x01CF,0x0130,0x012A,0x012E,0x0128,0x0134,
  673. 0x0136,0x0139,0x013D,0x013B,0x0143,0x0147,0x0145,0x00D1,
  674. 0x00D3,0x00D2,0x00D6,0x00D4,0x01D1,0x0150,0x014C,0x00D5,
  675. 0x0154,0x0158,0x0156,0x015A,0x015C,0x0160,0x015E,0x0164,
  676. 0x0162,0x00DA,0x00D9,0x00DC,0x00DB,0x016C,0x01D3,0x0170,
  677. 0x016A,0x0172,0x016E,0x0168,0x01D7,0x01DB,0x01D9,0x01D5,
  678. 0x0174,0x00DD,0x0178,0x0176,0x0179,0x017D,0x017B};
  679. /* page 7 0x2B21-0x2B77 */
  680. static uint16 tab_jisx0212_uni7[]={
  681. 0x00E1,0x00E0,0x00E4,0x00E2,0x0103,0x01CE,0x0101,0x0105,
  682. 0x00E5,0x00E3,0x0107,0x0109,0x010D,0x00E7,0x010B,0x010F,
  683. 0x00E9,0x00E8,0x00EB,0x00EA,0x011B,0x0117,0x0113,0x0119,
  684. 0x01F5,0x011D,0x011F,     0,0x0121,0x0125,0x00ED,0x00EC,
  685. 0x00EF,0x00EE,0x01D0,     0,0x012B,0x012F,0x0129,0x0135,
  686. 0x0137,0x013A,0x013E,0x013C,0x0144,0x0148,0x0146,0x00F1,
  687. 0x00F3,0x00F2,0x00F6,0x00F4,0x01D2,0x0151,0x014D,0x00F5,
  688. 0x0155,0x0159,0x0157,0x015B,0x015D,0x0161,0x015F,0x0165,
  689. 0x0163,0x00FA,0x00F9,0x00FC,0x00FB,0x016D,0x01D4,0x0171,
  690. 0x016B,0x0173,0x016F,0x0169,0x01D8,0x01DC,0x01DA,0x01D6,
  691. 0x0175,0x00FD,0x00FF,0x0177,0x017A,0x017E,0x017C};
  692. /* page 8 0x3021-0x307E */
  693. static uint16 tab_jisx0212_uni8[]={
  694. 0x4E02,0x4E04,0x4E05,0x4E0C,0x4E12,0x4E1F,0x4E23,0x4E24,
  695. 0x4E28,0x4E2B,0x4E2E,0x4E2F,0x4E30,0x4E35,0x4E40,0x4E41,
  696. 0x4E44,0x4E47,0x4E51,0x4E5A,0x4E5C,0x4E63,0x4E68,0x4E69,
  697. 0x4E74,0x4E75,0x4E79,0x4E7F,0x4E8D,0x4E96,0x4E97,0x4E9D,
  698. 0x4EAF,0x4EB9,0x4EC3,0x4ED0,0x4EDA,0x4EDB,0x4EE0,0x4EE1,
  699. 0x4EE2,0x4EE8,0x4EEF,0x4EF1,0x4EF3,0x4EF5,0x4EFD,0x4EFE,
  700. 0x4EFF,0x4F00,0x4F02,0x4F03,0x4F08,0x4F0B,0x4F0C,0x4F12,
  701. 0x4F15,0x4F16,0x4F17,0x4F19,0x4F2E,0x4F31,0x4F60,0x4F33,
  702. 0x4F35,0x4F37,0x4F39,0x4F3B,0x4F3E,0x4F40,0x4F42,0x4F48,
  703. 0x4F49,0x4F4B,0x4F4C,0x4F52,0x4F54,0x4F56,0x4F58,0x4F5F,
  704. 0x4F63,0x4F6A,0x4F6C,0x4F6E,0x4F71,0x4F77,0x4F78,0x4F79,
  705. 0x4F7A,0x4F7D,0x4F7E,0x4F81,0x4F82,0x4F84};
  706. /* page 9 0x3121-0x317E */
  707. static uint16 tab_jisx0212_uni9[]={
  708. 0x4F85,0x4F89,0x4F8A,0x4F8C,0x4F8E,0x4F90,0x4F92,0x4F93,
  709. 0x4F94,0x4F97,0x4F99,0x4F9A,0x4F9E,0x4F9F,0x4FB2,0x4FB7,
  710. 0x4FB9,0x4FBB,0x4FBC,0x4FBD,0x4FBE,0x4FC0,0x4FC1,0x4FC5,
  711. 0x4FC6,0x4FC8,0x4FC9,0x4FCB,0x4FCC,0x4FCD,0x4FCF,0x4FD2,
  712. 0x4FDC,0x4FE0,0x4FE2,0x4FF0,0x4FF2,0x4FFC,0x4FFD,0x4FFF,
  713. 0x5000,0x5001,0x5004,0x5007,0x500A,0x500C,0x500E,0x5010,
  714. 0x5013,0x5017,0x5018,0x501B,0x501C,0x501D,0x501E,0x5022,
  715. 0x5027,0x502E,0x5030,0x5032,0x5033,0x5035,0x5040,0x5041,
  716. 0x5042,0x5045,0x5046,0x504A,0x504C,0x504E,0x5051,0x5052,
  717. 0x5053,0x5057,0x5059,0x505F,0x5060,0x5062,0x5063,0x5066,
  718. 0x5067,0x506A,0x506D,0x5070,0x5071,0x503B,0x5081,0x5083,
  719. 0x5084,0x5086,0x508A,0x508E,0x508F,0x5090};
  720. /* page 10 0x3221-0x327E */
  721. static uint16 tab_jisx0212_uni10[]={
  722. 0x5092,0x5093,0x5094,0x5096,0x509B,0x509C,0x509E,0x509F,
  723. 0x50A0,0x50A1,0x50A2,0x50AA,0x50AF,0x50B0,0x50B9,0x50BA,
  724. 0x50BD,0x50C0,0x50C3,0x50C4,0x50C7,0x50CC,0x50CE,0x50D0,
  725. 0x50D3,0x50D4,0x50D8,0x50DC,0x50DD,0x50DF,0x50E2,0x50E4,
  726. 0x50E6,0x50E8,0x50E9,0x50EF,0x50F1,0x50F6,0x50FA,0x50FE,
  727. 0x5103,0x5106,0x5107,0x5108,0x510B,0x510C,0x510D,0x510E,
  728. 0x50F2,0x5110,0x5117,0x5119,0x511B,0x511C,0x511D,0x511E,
  729. 0x5123,0x5127,0x5128,0x512C,0x512D,0x512F,0x5131,0x5133,
  730. 0x5134,0x5135,0x5138,0x5139,0x5142,0x514A,0x514F,0x5153,
  731. 0x5155,0x5157,0x5158,0x515F,0x5164,0x5166,0x517E,0x5183,
  732. 0x5184,0x518B,0x518E,0x5198,0x519D,0x51A1,0x51A3,0x51AD,
  733. 0x51B8,0x51BA,0x51BC,0x51BE,0x51BF,0x51C2};
  734. /* page 11 0x3321-0x337E */
  735. static uint16 tab_jisx0212_uni11[]={
  736. 0x51C8,0x51CF,0x51D1,0x51D2,0x51D3,0x51D5,0x51D8,0x51DE,
  737. 0x51E2,0x51E5,0x51EE,0x51F2,0x51F3,0x51F4,0x51F7,0x5201,
  738. 0x5202,0x5205,0x5212,0x5213,0x5215,0x5216,0x5218,0x5222,
  739. 0x5228,0x5231,0x5232,0x5235,0x523C,0x5245,0x5249,0x5255,
  740. 0x5257,0x5258,0x525A,0x525C,0x525F,0x5260,0x5261,0x5266,
  741. 0x526E,0x5277,0x5278,0x5279,0x5280,0x5282,0x5285,0x528A,
  742. 0x528C,0x5293,0x5295,0x5296,0x5297,0x5298,0x529A,0x529C,
  743. 0x52A4,0x52A5,0x52A6,0x52A7,0x52AF,0x52B0,0x52B6,0x52B7,
  744. 0x52B8,0x52BA,0x52BB,0x52BD,0x52C0,0x52C4,0x52C6,0x52C8,
  745. 0x52CC,0x52CF,0x52D1,0x52D4,0x52D6,0x52DB,0x52DC,0x52E1,
  746. 0x52E5,0x52E8,0x52E9,0x52EA,0x52EC,0x52F0,0x52F1,0x52F4,
  747. 0x52F6,0x52F7,0x5300,0x5303,0x530A,0x530B};
  748. /* page 12 0x3421-0x347E */
  749. static uint16 tab_jisx0212_uni12[]={
  750. 0x530C,0x5311,0x5313,0x5318,0x531B,0x531C,0x531E,0x531F,
  751. 0x5325,0x5327,0x5328,0x5329,0x532B,0x532C,0x532D,0x5330,
  752. 0x5332,0x5335,0x533C,0x533D,0x533E,0x5342,0x534C,0x534B,
  753. 0x5359,0x535B,0x5361,0x5363,0x5365,0x536C,0x536D,0x5372,
  754. 0x5379,0x537E,0x5383,0x5387,0x5388,0x538E,0x5393,0x5394,
  755. 0x5399,0x539D,0x53A1,0x53A4,0x53AA,0x53AB,0x53AF,0x53B2,
  756. 0x53B4,0x53B5,0x53B7,0x53B8,0x53BA,0x53BD,0x53C0,0x53C5,
  757. 0x53CF,0x53D2,0x53D3,0x53D5,0x53DA,0x53DD,0x53DE,0x53E0,
  758. 0x53E6,0x53E7,0x53F5,0x5402,0x5413,0x541A,0x5421,0x5427,
  759. 0x5428,0x542A,0x542F,0x5431,0x5434,0x5435,0x5443,0x5444,
  760. 0x5447,0x544D,0x544F,0x545E,0x5462,0x5464,0x5466,0x5467,
  761. 0x5469,0x546B,0x546D,0x546E,0x5474,0x547F};
  762. /* page 13 0x3521-0x357E */
  763. static uint16 tab_jisx0212_uni13[]={
  764. 0x5481,0x5483,0x5485,0x5488,0x5489,0x548D,0x5491,0x5495,
  765. 0x5496,0x549C,0x549F,0x54A1,0x54A6,0x54A7,0x54A9,0x54AA,
  766. 0x54AD,0x54AE,0x54B1,0x54B7,0x54B9,0x54BA,0x54BB,0x54BF,
  767. 0x54C6,0x54CA,0x54CD,0x54CE,0x54E0,0x54EA,0x54EC,0x54EF,
  768. 0x54F6,0x54FC,0x54FE,0x54FF,0x5500,0x5501,0x5505,0x5508,
  769. 0x5509,0x550C,0x550D,0x550E,0x5515,0x552A,0x552B,0x5532,
  770. 0x5535,0x5536,0x553B,0x553C,0x553D,0x5541,0x5547,0x5549,
  771. 0x554A,0x554D,0x5550,0x5551,0x5558,0x555A,0x555B,0x555E,
  772. 0x5560,0x5561,0x5564,0x5566,0x557F,0x5581,0x5582,0x5586,
  773. 0x5588,0x558E,0x558F,0x5591,0x5592,0x5593,0x5594,0x5597,
  774. 0x55A3,0x55A4,0x55AD,0x55B2,0x55BF,0x55C1,0x55C3,0x55C6,
  775. 0x55C9,0x55CB,0x55CC,0x55CE,0x55D1,0x55D2};
  776. /* page 14 0x3621-0x367E */
  777. static uint16 tab_jisx0212_uni14[]={
  778. 0x55D3,0x55D7,0x55D8,0x55DB,0x55DE,0x55E2,0x55E9,0x55F6,
  779. 0x55FF,0x5605,0x5608,0x560A,0x560D,0x560E,0x560F,0x5610,
  780. 0x5611,0x5612,0x5619,0x562C,0x5630,0x5633,0x5635,0x5637,
  781. 0x5639,0x563B,0x563C,0x563D,0x563F,0x5640,0x5641,0x5643,
  782. 0x5644,0x5646,0x5649,0x564B,0x564D,0x564F,0x5654,0x565E,
  783. 0x5660,0x5661,0x5662,0x5663,0x5666,0x5669,0x566D,0x566F,
  784. 0x5671,0x5672,0x5675,0x5684,0x5685,0x5688,0x568B,0x568C,
  785. 0x5695,0x5699,0x569A,0x569D,0x569E,0x569F,0x56A6,0x56A7,
  786. 0x56A8,0x56A9,0x56AB,0x56AC,0x56AD,0x56B1,0x56B3,0x56B7,
  787. 0x56BE,0x56C5,0x56C9,0x56CA,0x56CB,0x56CF,0x56D0,0x56CC,
  788. 0x56CD,0x56D9,0x56DC,0x56DD,0x56DF,0x56E1,0x56E4,0x56E5,
  789. 0x56E6,0x56E7,0x56E8,0x56F1,0x56EB,0x56ED};
  790. /* page 15 0x3721-0x377E */
  791. static uint16 tab_jisx0212_uni15[]={
  792. 0x56F6,0x56F7,0x5701,0x5702,0x5707,0x570A,0x570C,0x5711,
  793. 0x5715,0x571A,0x571B,0x571D,0x5720,0x5722,0x5723,0x5724,
  794. 0x5725,0x5729,0x572A,0x572C,0x572E,0x572F,0x5733,0x5734,
  795. 0x573D,0x573E,0x573F,0x5745,0x5746,0x574C,0x574D,0x5752,
  796. 0x5762,0x5765,0x5767,0x5768,0x576B,0x576D,0x576E,0x576F,
  797. 0x5770,0x5771,0x5773,0x5774,0x5775,0x5777,0x5779,0x577A,
  798. 0x577B,0x577C,0x577E,0x5781,0x5783,0x578C,0x5794,0x5797,
  799. 0x5799,0x579A,0x579C,0x579D,0x579E,0x579F,0x57A1,0x5795,
  800. 0x57A7,0x57A8,0x57A9,0x57AC,0x57B8,0x57BD,0x57C7,0x57C8,
  801. 0x57CC,0x57CF,0x57D5,0x57DD,0x57DE,0x57E4,0x57E6,0x57E7,
  802. 0x57E9,0x57ED,0x57F0,0x57F5,0x57F6,0x57F8,0x57FD,0x57FE,
  803. 0x57FF,0x5803,0x5804,0x5808,0x5809,0x57E1};
  804. /* page 16 0x3821-0x387E */
  805. static uint16 tab_jisx0212_uni16[]={
  806. 0x580C,0x580D,0x581B,0x581E,0x581F,0x5820,0x5826,0x5827,
  807. 0x582D,0x5832,0x5839,0x583F,0x5849,0x584C,0x584D,0x584F,
  808. 0x5850,0x5855,0x585F,0x5861,0x5864,0x5867,0x5868,0x5878,
  809. 0x587C,0x587F,0x5880,0x5881,0x5887,0x5888,0x5889,0x588A,
  810. 0x588C,0x588D,0x588F,0x5890,0x5894,0x5896,0x589D,0x58A0,
  811. 0x58A1,0x58A2,0x58A6,0x58A9,0x58B1,0x58B2,0x58C4,0x58BC,
  812. 0x58C2,0x58C8,0x58CD,0x58CE,0x58D0,0x58D2,0x58D4,0x58D6,
  813. 0x58DA,0x58DD,0x58E1,0x58E2,0x58E9,0x58F3,0x5905,0x5906,
  814. 0x590B,0x590C,0x5912,0x5913,0x5914,0x8641,0x591D,0x5921,
  815. 0x5923,0x5924,0x5928,0x592F,0x5930,0x5933,0x5935,0x5936,
  816. 0x593F,0x5943,0x5946,0x5952,0x5953,0x5959,0x595B,0x595D,
  817. 0x595E,0x595F,0x5961,0x5963,0x596B,0x596D};
  818. /* page 17 0x3921-0x397E */
  819. static uint16 tab_jisx0212_uni17[]={
  820. 0x596F,0x5972,0x5975,0x5976,0x5979,0x597B,0x597C,0x598B,
  821. 0x598C,0x598E,0x5992,0x5995,0x5997,0x599F,0x59A4,0x59A7,
  822. 0x59AD,0x59AE,0x59AF,0x59B0,0x59B3,0x59B7,0x59BA,0x59BC,
  823. 0x59C1,0x59C3,0x59C4,0x59C8,0x59CA,0x59CD,0x59D2,0x59DD,
  824. 0x59DE,0x59DF,0x59E3,0x59E4,0x59E7,0x59EE,0x59EF,0x59F1,
  825. 0x59F2,0x59F4,0x59F7,0x5A00,0x5A04,0x5A0C,0x5A0D,0x5A0E,
  826. 0x5A12,0x5A13,0x5A1E,0x5A23,0x5A24,0x5A27,0x5A28,0x5A2A,
  827. 0x5A2D,0x5A30,0x5A44,0x5A45,0x5A47,0x5A48,0x5A4C,0x5A50,
  828. 0x5A55,0x5A5E,0x5A63,0x5A65,0x5A67,0x5A6D,0x5A77,0x5A7A,
  829. 0x5A7B,0x5A7E,0x5A8B,0x5A90,0x5A93,0x5A96,0x5A99,0x5A9C,
  830. 0x5A9E,0x5A9F,0x5AA0,0x5AA2,0x5AA7,0x5AAC,0x5AB1,0x5AB2,
  831. 0x5AB3,0x5AB5,0x5AB8,0x5ABA,0x5ABB,0x5ABF};
  832. /* page 18 0x3A21-0x3A7E */
  833. static uint16 tab_jisx0212_uni18[]={
  834. 0x5AC4,0x5AC6,0x5AC8,0x5ACF,0x5ADA,0x5ADC,0x5AE0,0x5AE5,
  835. 0x5AEA,0x5AEE,0x5AF5,0x5AF6,0x5AFD,0x5B00,0x5B01,0x5B08,
  836. 0x5B17,0x5B34,0x5B19,0x5B1B,0x5B1D,0x5B21,0x5B25,0x5B2D,
  837. 0x5B38,0x5B41,0x5B4B,0x5B4C,0x5B52,0x5B56,0x5B5E,0x5B68,
  838. 0x5B6E,0x5B6F,0x5B7C,0x5B7D,0x5B7E,0x5B7F,0x5B81,0x5B84,
  839. 0x5B86,0x5B8A,0x5B8E,0x5B90,0x5B91,0x5B93,0x5B94,0x5B96,
  840. 0x5BA8,0x5BA9,0x5BAC,0x5BAD,0x5BAF,0x5BB1,0x5BB2,0x5BB7,
  841. 0x5BBA,0x5BBC,0x5BC0,0x5BC1,0x5BCD,0x5BCF,0x5BD6,0x5BD7,
  842. 0x5BD8,0x5BD9,0x5BDA,0x5BE0,0x5BEF,0x5BF1,0x5BF4,0x5BFD,
  843. 0x5C0C,0x5C17,0x5C1E,0x5C1F,0x5C23,0x5C26,0x5C29,0x5C2B,
  844. 0x5C2C,0x5C2E,0x5C30,0x5C32,0x5C35,0x5C36,0x5C59,0x5C5A,
  845. 0x5C5C,0x5C62,0x5C63,0x5C67,0x5C68,0x5C69};
  846. /* page 19 0x3B21-0x3B7E */
  847. static uint16 tab_jisx0212_uni19[]={
  848. 0x5C6D,0x5C70,0x5C74,0x5C75,0x5C7A,0x5C7B,0x5C7C,0x5C7D,
  849. 0x5C87,0x5C88,0x5C8A,0x5C8F,0x5C92,0x5C9D,0x5C9F,0x5CA0,
  850. 0x5CA2,0x5CA3,0x5CA6,0x5CAA,0x5CB2,0x5CB4,0x5CB5,0x5CBA,
  851. 0x5CC9,0x5CCB,0x5CD2,0x5CDD,0x5CD7,0x5CEE,0x5CF1,0x5CF2,
  852. 0x5CF4,0x5D01,0x5D06,0x5D0D,0x5D12,0x5D2B,0x5D23,0x5D24,
  853. 0x5D26,0x5D27,0x5D31,0x5D34,0x5D39,0x5D3D,0x5D3F,0x5D42,
  854. 0x5D43,0x5D46,0x5D48,0x5D55,0x5D51,0x5D59,0x5D4A,0x5D5F,
  855. 0x5D60,0x5D61,0x5D62,0x5D64,0x5D6A,0x5D6D,0x5D70,0x5D79,
  856. 0x5D7A,0x5D7E,0x5D7F,0x5D81,0x5D83,0x5D88,0x5D8A,0x5D92,
  857. 0x5D93,0x5D94,0x5D95,0x5D99,0x5D9B,0x5D9F,0x5DA0,0x5DA7,
  858. 0x5DAB,0x5DB0,0x5DB4,0x5DB8,0x5DB9,0x5DC3,0x5DC7,0x5DCB,
  859. 0x5DD0,0x5DCE,0x5DD8,0x5DD9,0x5DE0,0x5DE4};
  860. /* page 20 0x3C21-0x3C7E */
  861. static uint16 tab_jisx0212_uni20[]={
  862. 0x5DE9,0x5DF8,0x5DF9,0x5E00,0x5E07,0x5E0D,0x5E12,0x5E14,
  863. 0x5E15,0x5E18,0x5E1F,0x5E20,0x5E2E,0x5E28,0x5E32,0x5E35,
  864. 0x5E3E,0x5E4B,0x5E50,0x5E49,0x5E51,0x5E56,0x5E58,0x5E5B,
  865. 0x5E5C,0x5E5E,0x5E68,0x5E6A,0x5E6B,0x5E6C,0x5E6D,0x5E6E,
  866. 0x5E70,0x5E80,0x5E8B,0x5E8E,0x5EA2,0x5EA4,0x5EA5,0x5EA8,
  867. 0x5EAA,0x5EAC,0x5EB1,0x5EB3,0x5EBD,0x5EBE,0x5EBF,0x5EC6,
  868. 0x5ECC,0x5ECB,0x5ECE,0x5ED1,0x5ED2,0x5ED4,0x5ED5,0x5EDC,
  869. 0x5EDE,0x5EE5,0x5EEB,0x5F02,0x5F06,0x5F07,0x5F08,0x5F0E,
  870. 0x5F19,0x5F1C,0x5F1D,0x5F21,0x5F22,0x5F23,0x5F24,0x5F28,
  871. 0x5F2B,0x5F2C,0x5F2E,0x5F30,0x5F34,0x5F36,0x5F3B,0x5F3D,
  872. 0x5F3F,0x5F40,0x5F44,0x5F45,0x5F47,0x5F4D,0x5F50,0x5F54,
  873. 0x5F58,0x5F5B,0x5F60,0x5F63,0x5F64,0x5F67};
  874. /* page 21 0x3D21-0x3D7E */
  875. static uint16 tab_jisx0212_uni21[]={
  876. 0x5F6F,0x5F72,0x5F74,0x5F75,0x5F78,0x5F7A,0x5F7D,0x5F7E,
  877. 0x5F89,0x5F8D,0x5F8F,0x5F96,0x5F9C,0x5F9D,0x5FA2,0x5FA7,
  878. 0x5FAB,0x5FA4,0x5FAC,0x5FAF,0x5FB0,0x5FB1,0x5FB8,0x5FC4,
  879. 0x5FC7,0x5FC8,0x5FC9,0x5FCB,0x5FD0,0x5FD1,0x5FD2,0x5FD3,
  880. 0x5FD4,0x5FDE,0x5FE1,0x5FE2,0x5FE8,0x5FE9,0x5FEA,0x5FEC,
  881. 0x5FED,0x5FEE,0x5FEF,0x5FF2,0x5FF3,0x5FF6,0x5FFA,0x5FFC,
  882. 0x6007,0x600A,0x600D,0x6013,0x6014,0x6017,0x6018,0x601A,
  883. 0x601F,0x6024,0x602D,0x6033,0x6035,0x6040,0x6047,0x6048,
  884. 0x6049,0x604C,0x6051,0x6054,0x6056,0x6057,0x605D,0x6061,
  885. 0x6067,0x6071,0x607E,0x607F,0x6082,0x6086,0x6088,0x608A,
  886. 0x608E,0x6091,0x6093,0x6095,0x6098,0x609D,0x609E,0x60A2,
  887. 0x60A4,0x60A5,0x60A8,0x60B0,0x60B1,0x60B7};
  888. /* page 22 0x3E21-0x3E7E */
  889. static uint16 tab_jisx0212_uni22[]={
  890. 0x60BB,0x60BE,0x60C2,0x60C4,0x60C8,0x60C9,0x60CA,0x60CB,
  891. 0x60CE,0x60CF,0x60D4,0x60D5,0x60D9,0x60DB,0x60DD,0x60DE,
  892. 0x60E2,0x60E5,0x60F2,0x60F5,0x60F8,0x60FC,0x60FD,0x6102,
  893. 0x6107,0x610A,0x610C,0x6110,0x6111,0x6112,0x6113,0x6114,
  894. 0x6116,0x6117,0x6119,0x611C,0x611E,0x6122,0x612A,0x612B,
  895. 0x6130,0x6131,0x6135,0x6136,0x6137,0x6139,0x6141,0x6145,
  896. 0x6146,0x6149,0x615E,0x6160,0x616C,0x6172,0x6178,0x617B,
  897. 0x617C,0x617F,0x6180,0x6181,0x6183,0x6184,0x618B,0x618D,
  898. 0x6192,0x6193,0x6197,0x6198,0x619C,0x619D,0x619F,0x61A0,
  899. 0x61A5,0x61A8,0x61AA,0x61AD,0x61B8,0x61B9,0x61BC,0x61C0,
  900. 0x61C1,0x61C2,0x61CE,0x61CF,0x61D5,0x61DC,0x61DD,0x61DE,
  901. 0x61DF,0x61E1,0x61E2,0x61E7,0x61E9,0x61E5};
  902. /* page 23 0x3F21-0x3F7E */
  903. static uint16 tab_jisx0212_uni23[]={
  904. 0x61EC,0x61ED,0x61EF,0x6201,0x6203,0x6204,0x6207,0x6213,
  905. 0x6215,0x621C,0x6220,0x6222,0x6223,0x6227,0x6229,0x622B,
  906. 0x6239,0x623D,0x6242,0x6243,0x6244,0x6246,0x624C,0x6250,
  907. 0x6251,0x6252,0x6254,0x6256,0x625A,0x625C,0x6264,0x626D,
  908. 0x626F,0x6273,0x627A,0x627D,0x628D,0x628E,0x628F,0x6290,
  909. 0x62A6,0x62A8,0x62B3,0x62B6,0x62B7,0x62BA,0x62BE,0x62BF,
  910. 0x62C4,0x62CE,0x62D5,0x62D6,0x62DA,0x62EA,0x62F2,0x62F4,
  911. 0x62FC,0x62FD,0x6303,0x6304,0x630A,0x630B,0x630D,0x6310,
  912. 0x6313,0x6316,0x6318,0x6329,0x632A,0x632D,0x6335,0x6336,
  913. 0x6339,0x633C,0x6341,0x6342,0x6343,0x6344,0x6346,0x634A,
  914. 0x634B,0x634E,0x6352,0x6353,0x6354,0x6358,0x635B,0x6365,
  915. 0x6366,0x636C,0x636D,0x6371,0x6374,0x6375};
  916. /* page 24 0x4021-0x407E */
  917. static uint16 tab_jisx0212_uni24[]={
  918. 0x6378,0x637C,0x637D,0x637F,0x6382,0x6384,0x6387,0x638A,
  919. 0x6390,0x6394,0x6395,0x6399,0x639A,0x639E,0x63A4,0x63A6,
  920. 0x63AD,0x63AE,0x63AF,0x63BD,0x63C1,0x63C5,0x63C8,0x63CE,
  921. 0x63D1,0x63D3,0x63D4,0x63D5,0x63DC,0x63E0,0x63E5,0x63EA,
  922. 0x63EC,0x63F2,0x63F3,0x63F5,0x63F8,0x63F9,0x6409,0x640A,
  923. 0x6410,0x6412,0x6414,0x6418,0x641E,0x6420,0x6422,0x6424,
  924. 0x6425,0x6429,0x642A,0x642F,0x6430,0x6435,0x643D,0x643F,
  925. 0x644B,0x644F,0x6451,0x6452,0x6453,0x6454,0x645A,0x645B,
  926. 0x645C,0x645D,0x645F,0x6460,0x6461,0x6463,0x646D,0x6473,
  927. 0x6474,0x647B,0x647D,0x6485,0x6487,0x648F,0x6490,0x6491,
  928. 0x6498,0x6499,0x649B,0x649D,0x649F,0x64A1,0x64A3,0x64A6,
  929. 0x64A8,0x64AC,0x64B3,0x64BD,0x64BE,0x64BF};
  930. /* page 25 0x4121-0x417E */
  931. static uint16 tab_jisx0212_uni25[]={
  932. 0x64C4,0x64C9,0x64CA,0x64CB,0x64CC,0x64CE,0x64D0,0x64D1,
  933. 0x64D5,0x64D7,0x64E4,0x64E5,0x64E9,0x64EA,0x64ED,0x64F0,
  934. 0x64F5,0x64F7,0x64FB,0x64FF,0x6501,0x6504,0x6508,0x6509,
  935. 0x650A,0x650F,0x6513,0x6514,0x6516,0x6519,0x651B,0x651E,
  936. 0x651F,0x6522,0x6526,0x6529,0x652E,0x6531,0x653A,0x653C,
  937. 0x653D,0x6543,0x6547,0x6549,0x6550,0x6552,0x6554,0x655F,
  938. 0x6560,0x6567,0x656B,0x657A,0x657D,0x6581,0x6585,0x658A,
  939. 0x6592,0x6595,0x6598,0x659D,0x65A0,0x65A3,0x65A6,0x65AE,
  940. 0x65B2,0x65B3,0x65B4,0x65BF,0x65C2,0x65C8,0x65C9,0x65CE,
  941. 0x65D0,0x65D4,0x65D6,0x65D8,0x65DF,0x65F0,0x65F2,0x65F4,
  942. 0x65F5,0x65F9,0x65FE,0x65FF,0x6600,0x6604,0x6608,0x6609,
  943. 0x660D,0x6611,0x6612,0x6615,0x6616,0x661D};
  944. /* page 26 0x4221-0x427E */
  945. static uint16 tab_jisx0212_uni26[]={
  946. 0x661E,0x6621,0x6622,0x6623,0x6624,0x6626,0x6629,0x662A,
  947. 0x662B,0x662C,0x662E,0x6630,0x6631,0x6633,0x6639,0x6637,
  948. 0x6640,0x6645,0x6646,0x664A,0x664C,0x6651,0x664E,0x6657,
  949. 0x6658,0x6659,0x665B,0x665C,0x6660,0x6661,0x66FB,0x666A,
  950. 0x666B,0x666C,0x667E,0x6673,0x6675,0x667F,0x6677,0x6678,
  951. 0x6679,0x667B,0x6680,0x667C,0x668B,0x668C,0x668D,0x6690,
  952. 0x6692,0x6699,0x669A,0x669B,0x669C,0x669F,0x66A0,0x66A4,
  953. 0x66AD,0x66B1,0x66B2,0x66B5,0x66BB,0x66BF,0x66C0,0x66C2,
  954. 0x66C3,0x66C8,0x66CC,0x66CE,0x66CF,0x66D4,0x66DB,0x66DF,
  955. 0x66E8,0x66EB,0x66EC,0x66EE,0x66FA,0x6705,0x6707,0x670E,
  956. 0x6713,0x6719,0x671C,0x6720,0x6722,0x6733,0x673E,0x6745,
  957. 0x6747,0x6748,0x674C,0x6754,0x6755,0x675D};
  958. /* page 27 0x4321-0x437E */
  959. static uint16 tab_jisx0212_uni27[]={
  960. 0x6766,0x676C,0x676E,0x6774,0x6776,0x677B,0x6781,0x6784,
  961. 0x678E,0x678F,0x6791,0x6793,0x6796,0x6798,0x6799,0x679B,
  962. 0x67B0,0x67B1,0x67B2,0x67B5,0x67BB,0x67BC,0x67BD,0x67F9,
  963. 0x67C0,0x67C2,0x67C3,0x67C5,0x67C8,0x67C9,0x67D2,0x67D7,
  964. 0x67D9,0x67DC,0x67E1,0x67E6,0x67F0,0x67F2,0x67F6,0x67F7,
  965. 0x6852,0x6814,0x6819,0x681D,0x681F,0x6828,0x6827,0x682C,
  966. 0x682D,0x682F,0x6830,0x6831,0x6833,0x683B,0x683F,0x6844,
  967. 0x6845,0x684A,0x684C,0x6855,0x6857,0x6858,0x685B,0x686B,
  968. 0x686E,0x686F,0x6870,0x6871,0x6872,0x6875,0x6879,0x687A,
  969. 0x687B,0x687C,0x6882,0x6884,0x6886,0x6888,0x6896,0x6898,
  970. 0x689A,0x689C,0x68A1,0x68A3,0x68A5,0x68A9,0x68AA,0x68AE,
  971. 0x68B2,0x68BB,0x68C5,0x68C8,0x68CC,0x68CF};
  972. /* page 28 0x4421-0x447E */
  973. static uint16 tab_jisx0212_uni28[]={
  974. 0x68D0,0x68D1,0x68D3,0x68D6,0x68D9,0x68DC,0x68DD,0x68E5,
  975. 0x68E8,0x68EA,0x68EB,0x68EC,0x68ED,0x68F0,0x68F1,0x68F5,
  976. 0x68F6,0x68FB,0x68FC,0x68FD,0x6906,0x6909,0x690A,0x6910,
  977. 0x6911,0x6913,0x6916,0x6917,0x6931,0x6933,0x6935,0x6938,
  978. 0x693B,0x6942,0x6945,0x6949,0x694E,0x6957,0x695B,0x6963,
  979. 0x6964,0x6965,0x6966,0x6968,0x6969,0x696C,0x6970,0x6971,
  980. 0x6972,0x697A,0x697B,0x697F,0x6980,0x698D,0x6992,0x6996,
  981. 0x6998,0x69A1,0x69A5,0x69A6,0x69A8,0x69AB,0x69AD,0x69AF,
  982. 0x69B7,0x69B8,0x69BA,0x69BC,0x69C5,0x69C8,0x69D1,0x69D6,
  983. 0x69D7,0x69E2,0x69E5,0x69EE,0x69EF,0x69F1,0x69F3,0x69F5,
  984. 0x69FE,0x6A00,0x6A01,0x6A03,0x6A0F,0x6A11,0x6A15,0x6A1A,
  985. 0x6A1D,0x6A20,0x6A24,0x6A28,0x6A30,0x6A32};
  986. /* page 29 0x4521-0x457E */
  987. static uint16 tab_jisx0212_uni29[]={
  988. 0x6A34,0x6A37,0x6A3B,0x6A3E,0x6A3F,0x6A45,0x6A46,0x6A49,
  989. 0x6A4A,0x6A4E,0x6A50,0x6A51,0x6A52,0x6A55,0x6A56,0x6A5B,
  990. 0x6A64,0x6A67,0x6A6A,0x6A71,0x6A73,0x6A7E,0x6A81,0x6A83,
  991. 0x6A86,0x6A87,0x6A89,0x6A8B,0x6A91,0x6A9B,0x6A9D,0x6A9E,
  992. 0x6A9F,0x6AA5,0x6AAB,0x6AAF,0x6AB0,0x6AB1,0x6AB4,0x6ABD,
  993. 0x6ABE,0x6ABF,0x6AC6,0x6AC9,0x6AC8,0x6ACC,0x6AD0,0x6AD4,
  994. 0x6AD5,0x6AD6,0x6ADC,0x6ADD,0x6AE4,0x6AE7,0x6AEC,0x6AF0,
  995. 0x6AF1,0x6AF2,0x6AFC,0x6AFD,0x6B02,0x6B03,0x6B06,0x6B07,
  996. 0x6B09,0x6B0F,0x6B10,0x6B11,0x6B17,0x6B1B,0x6B1E,0x6B24,
  997. 0x6B28,0x6B2B,0x6B2C,0x6B2F,0x6B35,0x6B36,0x6B3B,0x6B3F,
  998. 0x6B46,0x6B4A,0x6B4D,0x6B52,0x6B56,0x6B58,0x6B5D,0x6B60,
  999. 0x6B67,0x6B6B,0x6B6E,0x6B70,0x6B75,0x6B7D};
  1000. /* page 30 0x4621-0x467E */
  1001. static uint16 tab_jisx0212_uni30[]={
  1002. 0x6B7E,0x6B82,0x6B85,0x6B97,0x6B9B,0x6B9F,0x6BA0,0x6BA2,
  1003. 0x6BA3,0x6BA8,0x6BA9,0x6BAC,0x6BAD,0x6BAE,0x6BB0,0x6BB8,
  1004. 0x6BB9,0x6BBD,0x6BBE,0x6BC3,0x6BC4,0x6BC9,0x6BCC,0x6BD6,
  1005. 0x6BDA,0x6BE1,0x6BE3,0x6BE6,0x6BE7,0x6BEE,0x6BF1,0x6BF7,
  1006. 0x6BF9,0x6BFF,0x6C02,0x6C04,0x6C05,0x6C09,0x6C0D,0x6C0E,
  1007. 0x6C10,0x6C12,0x6C19,0x6C1F,0x6C26,0x6C27,0x6C28,0x6C2C,
  1008. 0x6C2E,0x6C33,0x6C35,0x6C36,0x6C3A,0x6C3B,0x6C3F,0x6C4A,
  1009. 0x6C4B,0x6C4D,0x6C4F,0x6C52,0x6C54,0x6C59,0x6C5B,0x6C5C,
  1010. 0x6C6B,0x6C6D,0x6C6F,0x6C74,0x6C76,0x6C78,0x6C79,0x6C7B,
  1011. 0x6C85,0x6C86,0x6C87,0x6C89,0x6C94,0x6C95,0x6C97,0x6C98,
  1012. 0x6C9C,0x6C9F,0x6CB0,0x6CB2,0x6CB4,0x6CC2,0x6CC6,0x6CCD,
  1013. 0x6CCF,0x6CD0,0x6CD1,0x6CD2,0x6CD4,0x6CD6};
  1014. /* page 31 0x4721-0x477E */
  1015. static uint16 tab_jisx0212_uni31[]={
  1016. 0x6CDA,0x6CDC,0x6CE0,0x6CE7,0x6CE9,0x6CEB,0x6CEC,0x6CEE,
  1017. 0x6CF2,0x6CF4,0x6D04,0x6D07,0x6D0A,0x6D0E,0x6D0F,0x6D11,
  1018. 0x6D13,0x6D1A,0x6D26,0x6D27,0x6D28,0x6C67,0x6D2E,0x6D2F,
  1019. 0x6D31,0x6D39,0x6D3C,0x6D3F,0x6D57,0x6D5E,0x6D5F,0x6D61,
  1020. 0x6D65,0x6D67,0x6D6F,0x6D70,0x6D7C,0x6D82,0x6D87,0x6D91,
  1021. 0x6D92,0x6D94,0x6D96,0x6D97,0x6D98,0x6DAA,0x6DAC,0x6DB4,
  1022. 0x6DB7,0x6DB9,0x6DBD,0x6DBF,0x6DC4,0x6DC8,0x6DCA,0x6DCE,
  1023. 0x6DCF,0x6DD6,0x6DDB,0x6DDD,0x6DDF,0x6DE0,0x6DE2,0x6DE5,
  1024. 0x6DE9,0x6DEF,0x6DF0,0x6DF4,0x6DF6,0x6DFC,0x6E00,0x6E04,
  1025. 0x6E1E,0x6E22,0x6E27,0x6E32,0x6E36,0x6E39,0x6E3B,0x6E3C,
  1026. 0x6E44,0x6E45,0x6E48,0x6E49,0x6E4B,0x6E4F,0x6E51,0x6E52,
  1027. 0x6E53,0x6E54,0x6E57,0x6E5C,0x6E5D,0x6E5E};
  1028. /* page 32 0x4821-0x487E */
  1029. static uint16 tab_jisx0212_uni32[]={
  1030. 0x6E62,0x6E63,0x6E68,0x6E73,0x6E7B,0x6E7D,0x6E8D,0x6E93,
  1031. 0x6E99,0x6EA0,0x6EA7,0x6EAD,0x6EAE,0x6EB1,0x6EB3,0x6EBB,
  1032. 0x6EBF,0x6EC0,0x6EC1,0x6EC3,0x6EC7,0x6EC8,0x6ECA,0x6ECD,
  1033. 0x6ECE,0x6ECF,0x6EEB,0x6EED,0x6EEE,0x6EF9,0x6EFB,0x6EFD,
  1034. 0x6F04,0x6F08,0x6F0A,0x6F0C,0x6F0D,0x6F16,0x6F18,0x6F1A,
  1035. 0x6F1B,0x6F26,0x6F29,0x6F2A,0x6F2F,0x6F30,0x6F33,0x6F36,
  1036. 0x6F3B,0x6F3C,0x6F2D,0x6F4F,0x6F51,0x6F52,0x6F53,0x6F57,
  1037. 0x6F59,0x6F5A,0x6F5D,0x6F5E,0x6F61,0x6F62,0x6F68,0x6F6C,
  1038. 0x6F7D,0x6F7E,0x6F83,0x6F87,0x6F88,0x6F8B,0x6F8C,0x6F8D,
  1039. 0x6F90,0x6F92,0x6F93,0x6F94,0x6F96,0x6F9A,0x6F9F,0x6FA0,
  1040. 0x6FA5,0x6FA6,0x6FA7,0x6FA8,0x6FAE,0x6FAF,0x6FB0,0x6FB5,
  1041. 0x6FB6,0x6FBC,0x6FC5,0x6FC7,0x6FC8,0x6FCA};
  1042. /* page 33 0x4921-0x497E */
  1043. static uint16 tab_jisx0212_uni33[]={
  1044. 0x6FDA,0x6FDE,0x6FE8,0x6FE9,0x6FF0,0x6FF5,0x6FF9,0x6FFC,
  1045. 0x6FFD,0x7000,0x7005,0x7006,0x7007,0x700D,0x7017,0x7020,
  1046. 0x7023,0x702F,0x7034,0x7037,0x7039,0x703C,0x7043,0x7044,
  1047. 0x7048,0x7049,0x704A,0x704B,0x7054,0x7055,0x705D,0x705E,
  1048. 0x704E,0x7064,0x7065,0x706C,0x706E,0x7075,0x7076,0x707E,
  1049. 0x7081,0x7085,0x7086,0x7094,0x7095,0x7096,0x7097,0x7098,
  1050. 0x709B,0x70A4,0x70AB,0x70B0,0x70B1,0x70B4,0x70B7,0x70CA,
  1051. 0x70D1,0x70D3,0x70D4,0x70D5,0x70D6,0x70D8,0x70DC,0x70E4,
  1052. 0x70FA,0x7103,0x7104,0x7105,0x7106,0x7107,0x710B,0x710C,
  1053. 0x710F,0x711E,0x7120,0x712B,0x712D,0x712F,0x7130,0x7131,
  1054. 0x7138,0x7141,0x7145,0x7146,0x7147,0x714A,0x714B,0x7150,
  1055. 0x7152,0x7157,0x715A,0x715C,0x715E,0x7160};
  1056. /* page 34 0x4A21-0x4A7E */
  1057. static uint16 tab_jisx0212_uni34[]={
  1058. 0x7168,0x7179,0x7180,0x7185,0x7187,0x718C,0x7192,0x719A,
  1059. 0x719B,0x71A0,0x71A2,0x71AF,0x71B0,0x71B2,0x71B3,0x71BA,
  1060. 0x71BF,0x71C0,0x71C1,0x71C4,0x71CB,0x71CC,0x71D3,0x71D6,
  1061. 0x71D9,0x71DA,0x71DC,0x71F8,0x71FE,0x7200,0x7207,0x7208,
  1062. 0x7209,0x7213,0x7217,0x721A,0x721D,0x721F,0x7224,0x722B,
  1063. 0x722F,0x7234,0x7238,0x7239,0x7241,0x7242,0x7243,0x7245,
  1064. 0x724E,0x724F,0x7250,0x7253,0x7255,0x7256,0x725A,0x725C,
  1065. 0x725E,0x7260,0x7263,0x7268,0x726B,0x726E,0x726F,0x7271,
  1066. 0x7277,0x7278,0x727B,0x727C,0x727F,0x7284,0x7289,0x728D,
  1067. 0x728E,0x7293,0x729B,0x72A8,0x72AD,0x72AE,0x72B1,0x72B4,
  1068. 0x72BE,0x72C1,0x72C7,0x72C9,0x72CC,0x72D5,0x72D6,0x72D8,
  1069. 0x72DF,0x72E5,0x72F3,0x72F4,0x72FA,0x72FB};
  1070. /* page 35 0x4B21-0x4B7E */
  1071. static uint16 tab_jisx0212_uni35[]={
  1072. 0x72FE,0x7302,0x7304,0x7305,0x7307,0x730B,0x730D,0x7312,
  1073. 0x7313,0x7318,0x7319,0x731E,0x7322,0x7324,0x7327,0x7328,
  1074. 0x732C,0x7331,0x7332,0x7335,0x733A,0x733B,0x733D,0x7343,
  1075. 0x734D,0x7350,0x7352,0x7356,0x7358,0x735D,0x735E,0x735F,
  1076. 0x7360,0x7366,0x7367,0x7369,0x736B,0x736C,0x736E,0x736F,
  1077. 0x7371,0x7377,0x7379,0x737C,0x7380,0x7381,0x7383,0x7385,
  1078. 0x7386,0x738E,0x7390,0x7393,0x7395,0x7397,0x7398,0x739C,
  1079. 0x739E,0x739F,0x73A0,0x73A2,0x73A5,0x73A6,0x73AA,0x73AB,
  1080. 0x73AD,0x73B5,0x73B7,0x73B9,0x73BC,0x73BD,0x73BF,0x73C5,
  1081. 0x73C6,0x73C9,0x73CB,0x73CC,0x73CF,0x73D2,0x73D3,0x73D6,
  1082. 0x73D9,0x73DD,0x73E1,0x73E3,0x73E6,0x73E7,0x73E9,0x73F4,
  1083. 0x73F5,0x73F7,0x73F9,0x73FA,0x73FB,0x73FD};
  1084. /* page 36 0x4C21-0x4C7E */
  1085. static uint16 tab_jisx0212_uni36[]={
  1086. 0x73FF,0x7400,0x7401,0x7404,0x7407,0x740A,0x7411,0x741A,
  1087. 0x741B,0x7424,0x7426,0x7428,0x7429,0x742A,0x742B,0x742C,
  1088. 0x742D,0x742E,0x742F,0x7430,0x7431,0x7439,0x7440,0x7443,
  1089. 0x7444,0x7446,0x7447,0x744B,0x744D,0x7451,0x7452,0x7457,
  1090. 0x745D,0x7462,0x7466,0x7467,0x7468,0x746B,0x746D,0x746E,
  1091. 0x7471,0x7472,0x7480,0x7481,0x7485,0x7486,0x7487,0x7489,
  1092. 0x748F,0x7490,0x7491,0x7492,0x7498,0x7499,0x749A,0x749C,
  1093. 0x749F,0x74A0,0x74A1,0x74A3,0x74A6,0x74A8,0x74A9,0x74AA,
  1094. 0x74AB,0x74AE,0x74AF,0x74B1,0x74B2,0x74B5,0x74B9,0x74BB,
  1095. 0x74BF,0x74C8,0x74C9,0x74CC,0x74D0,0x74D3,0x74D8,0x74DA,
  1096. 0x74DB,0x74DE,0x74DF,0x74E4,0x74E8,0x74EA,0x74EB,0x74EF,
  1097. 0x74F4,0x74FA,0x74FB,0x74FC,0x74FF,0x7506};
  1098. /* page 37 0x4D21-0x4D7E */
  1099. static uint16 tab_jisx0212_uni37[]={
  1100. 0x7512,0x7516,0x7517,0x7520,0x7521,0x7524,0x7527,0x7529,
  1101. 0x752A,0x752F,0x7536,0x7539,0x753D,0x753E,0x753F,0x7540,
  1102. 0x7543,0x7547,0x7548,0x754E,0x7550,0x7552,0x7557,0x755E,
  1103. 0x755F,0x7561,0x756F,0x7571,0x7579,0x757A,0x757B,0x757C,
  1104. 0x757D,0x757E,0x7581,0x7585,0x7590,0x7592,0x7593,0x7595,
  1105. 0x7599,0x759C,0x75A2,0x75A4,0x75B4,0x75BA,0x75BF,0x75C0,
  1106. 0x75C1,0x75C4,0x75C6,0x75CC,0x75CE,0x75CF,0x75D7,0x75DC,
  1107. 0x75DF,0x75E0,0x75E1,0x75E4,0x75E7,0x75EC,0x75EE,0x75EF,
  1108. 0x75F1,0x75F9,0x7600,0x7602,0x7603,0x7604,0x7607,0x7608,
  1109. 0x760A,0x760C,0x760F,0x7612,0x7613,0x7615,0x7616,0x7619,
  1110. 0x761B,0x761C,0x761D,0x761E,0x7623,0x7625,0x7626,0x7629,
  1111. 0x762D,0x7632,0x7633,0x7635,0x7638,0x7639};
  1112. /* page 38 0x4E21-0x4E7E */
  1113. static uint16 tab_jisx0212_uni38[]={
  1114. 0x763A,0x763C,0x764A,0x7640,0x7641,0x7643,0x7644,0x7645,
  1115. 0x7649,0x764B,0x7655,0x7659,0x765F,0x7664,0x7665,0x766D,
  1116. 0x766E,0x766F,0x7671,0x7674,0x7681,0x7685,0x768C,0x768D,
  1117. 0x7695,0x769B,0x769C,0x769D,0x769F,0x76A0,0x76A2,0x76A3,
  1118. 0x76A4,0x76A5,0x76A6,0x76A7,0x76A8,0x76AA,0x76AD,0x76BD,
  1119. 0x76C1,0x76C5,0x76C9,0x76CB,0x76CC,0x76CE,0x76D4,0x76D9,
  1120. 0x76E0,0x76E6,0x76E8,0x76EC,0x76F0,0x76F1,0x76F6,0x76F9,
  1121. 0x76FC,0x7700,0x7706,0x770A,0x770E,0x7712,0x7714,0x7715,
  1122. 0x7717,0x7719,0x771A,0x771C,0x7722,0x7728,0x772D,0x772E,
  1123. 0x772F,0x7734,0x7735,0x7736,0x7739,0x773D,0x773E,0x7742,
  1124. 0x7745,0x7746,0x774A,0x774D,0x774E,0x774F,0x7752,0x7756,
  1125. 0x7757,0x775C,0x775E,0x775F,0x7760,0x7762};
  1126. /* page 39 0x4F21-0x4F7E */
  1127. static uint16 tab_jisx0212_uni39[]={
  1128. 0x7764,0x7767,0x776A,0x776C,0x7770,0x7772,0x7773,0x7774,
  1129. 0x777A,0x777D,0x7780,0x7784,0x778C,0x778D,0x7794,0x7795,
  1130. 0x7796,0x779A,0x779F,0x77A2,0x77A7,0x77AA,0x77AE,0x77AF,
  1131. 0x77B1,0x77B5,0x77BE,0x77C3,0x77C9,0x77D1,0x77D2,0x77D5,
  1132. 0x77D9,0x77DE,0x77DF,0x77E0,0x77E4,0x77E6,0x77EA,0x77EC,
  1133. 0x77F0,0x77F1,0x77F4,0x77F8,0x77FB,0x7805,0x7806,0x7809,
  1134. 0x780D,0x780E,0x7811,0x781D,0x7821,0x7822,0x7823,0x782D,
  1135. 0x782E,0x7830,0x7835,0x7837,0x7843,0x7844,0x7847,0x7848,
  1136. 0x784C,0x784E,0x7852,0x785C,0x785E,0x7860,0x7861,0x7863,
  1137. 0x7864,0x7868,0x786A,0x786E,0x787A,0x787E,0x788A,0x788F,
  1138. 0x7894,0x7898,0x78A1,0x789D,0x789E,0x789F,0x78A4,0x78A8,
  1139. 0x78AC,0x78AD,0x78B0,0x78B1,0x78B2,0x78B3};
  1140. /* page 40 0x5021-0x507E */
  1141. static uint16 tab_jisx0212_uni40[]={
  1142. 0x78BB,0x78BD,0x78BF,0x78C7,0x78C8,0x78C9,0x78CC,0x78CE,
  1143. 0x78D2,0x78D3,0x78D5,0x78D6,0x78E4,0x78DB,0x78DF,0x78E0,
  1144. 0x78E1,0x78E6,0x78EA,0x78F2,0x78F3,0x7900,0x78F6,0x78F7,
  1145. 0x78FA,0x78FB,0x78FF,0x7906,0x790C,0x7910,0x791A,0x791C,
  1146. 0x791E,0x791F,0x7920,0x7925,0x7927,0x7929,0x792D,0x7931,
  1147. 0x7934,0x7935,0x793B,0x793D,0x793F,0x7944,0x7945,0x7946,
  1148. 0x794A,0x794B,0x794F,0x7951,0x7954,0x7958,0x795B,0x795C,
  1149. 0x7967,0x7969,0x796B,0x7972,0x7979,0x797B,0x797C,0x797E,
  1150. 0x798B,0x798C,0x7991,0x7993,0x7994,0x7995,0x7996,0x7998,
  1151. 0x799B,0x799C,0x79A1,0x79A8,0x79A9,0x79AB,0x79AF,0x79B1,
  1152. 0x79B4,0x79B8,0x79BB,0x79C2,0x79C4,0x79C7,0x79C8,0x79CA,
  1153. 0x79CF,0x79D4,0x79D6,0x79DA,0x79DD,0x79DE};
  1154. /* page 41 0x5121-0x517E */
  1155. static uint16 tab_jisx0212_uni41[]={
  1156. 0x79E0,0x79E2,0x79E5,0x79EA,0x79EB,0x79ED,0x79F1,0x79F8,
  1157. 0x79FC,0x7A02,0x7A03,0x7A07,0x7A09,0x7A0A,0x7A0C,0x7A11,
  1158. 0x7A15,0x7A1B,0x7A1E,0x7A21,0x7A27,0x7A2B,0x7A2D,0x7A2F,
  1159. 0x7A30,0x7A34,0x7A35,0x7A38,0x7A39,0x7A3A,0x7A44,0x7A45,
  1160. 0x7A47,0x7A48,0x7A4C,0x7A55,0x7A56,0x7A59,0x7A5C,0x7A5D,
  1161. 0x7A5F,0x7A60,0x7A65,0x7A67,0x7A6A,0x7A6D,0x7A75,0x7A78,
  1162. 0x7A7E,0x7A80,0x7A82,0x7A85,0x7A86,0x7A8A,0x7A8B,0x7A90,
  1163. 0x7A91,0x7A94,0x7A9E,0x7AA0,0x7AA3,0x7AAC,0x7AB3,0x7AB5,
  1164. 0x7AB9,0x7ABB,0x7ABC,0x7AC6,0x7AC9,0x7ACC,0x7ACE,0x7AD1,
  1165. 0x7ADB,0x7AE8,0x7AE9,0x7AEB,0x7AEC,0x7AF1,0x7AF4,0x7AFB,
  1166. 0x7AFD,0x7AFE,0x7B07,0x7B14,0x7B1F,0x7B23,0x7B27,0x7B29,
  1167. 0x7B2A,0x7B2B,0x7B2D,0x7B2E,0x7B2F,0x7B30};
  1168. /* page 42 0x5221-0x527E */
  1169. static uint16 tab_jisx0212_uni42[]={
  1170. 0x7B31,0x7B34,0x7B3D,0x7B3F,0x7B40,0x7B41,0x7B47,0x7B4E,
  1171. 0x7B55,0x7B60,0x7B64,0x7B66,0x7B69,0x7B6A,0x7B6D,0x7B6F,
  1172. 0x7B72,0x7B73,0x7B77,0x7B84,0x7B89,0x7B8E,0x7B90,0x7B91,
  1173. 0x7B96,0x7B9B,0x7B9E,0x7BA0,0x7BA5,0x7BAC,0x7BAF,0x7BB0,
  1174. 0x7BB2,0x7BB5,0x7BB6,0x7BBA,0x7BBB,0x7BBC,0x7BBD,0x7BC2,
  1175. 0x7BC5,0x7BC8,0x7BCA,0x7BD4,0x7BD6,0x7BD7,0x7BD9,0x7BDA,
  1176. 0x7BDB,0x7BE8,0x7BEA,0x7BF2,0x7BF4,0x7BF5,0x7BF8,0x7BF9,
  1177. 0x7BFA,0x7BFC,0x7BFE,0x7C01,0x7C02,0x7C03,0x7C04,0x7C06,
  1178. 0x7C09,0x7C0B,0x7C0C,0x7C0E,0x7C0F,0x7C19,0x7C1B,0x7C20,
  1179. 0x7C25,0x7C26,0x7C28,0x7C2C,0x7C31,0x7C33,0x7C34,0x7C36,
  1180. 0x7C39,0x7C3A,0x7C46,0x7C4A,0x7C55,0x7C51,0x7C52,0x7C53,
  1181. 0x7C59,0x7C5A,0x7C5B,0x7C5C,0x7C5D,0x7C5E};
  1182. /* page 43 0x5321-0x537E */
  1183. static uint16 tab_jisx0212_uni43[]={
  1184. 0x7C61,0x7C63,0x7C67,0x7C69,0x7C6D,0x7C6E,0x7C70,0x7C72,
  1185. 0x7C79,0x7C7C,0x7C7D,0x7C86,0x7C87,0x7C8F,0x7C94,0x7C9E,
  1186. 0x7CA0,0x7CA6,0x7CB0,0x7CB6,0x7CB7,0x7CBA,0x7CBB,0x7CBC,
  1187. 0x7CBF,0x7CC4,0x7CC7,0x7CC8,0x7CC9,0x7CCD,0x7CCF,0x7CD3,
  1188. 0x7CD4,0x7CD5,0x7CD7,0x7CD9,0x7CDA,0x7CDD,0x7CE6,0x7CE9,
  1189. 0x7CEB,0x7CF5,0x7D03,0x7D07,0x7D08,0x7D09,0x7D0F,0x7D11,
  1190. 0x7D12,0x7D13,0x7D16,0x7D1D,0x7D1E,0x7D23,0x7D26,0x7D2A,
  1191. 0x7D2D,0x7D31,0x7D3C,0x7D3D,0x7D3E,0x7D40,0x7D41,0x7D47,
  1192. 0x7D48,0x7D4D,0x7D51,0x7D53,0x7D57,0x7D59,0x7D5A,0x7D5C,
  1193. 0x7D5D,0x7D65,0x7D67,0x7D6A,0x7D70,0x7D78,0x7D7A,0x7D7B,
  1194. 0x7D7F,0x7D81,0x7D82,0x7D83,0x7D85,0x7D86,0x7D88,0x7D8B,
  1195. 0x7D8C,0x7D8D,0x7D91,0x7D96,0x7D97,0x7D9D};
  1196. /* page 44 0x5421-0x547E */
  1197. static uint16 tab_jisx0212_uni44[]={
  1198. 0x7D9E,0x7DA6,0x7DA7,0x7DAA,0x7DB3,0x7DB6,0x7DB7,0x7DB9,
  1199. 0x7DC2,0x7DC3,0x7DC4,0x7DC5,0x7DC6,0x7DCC,0x7DCD,0x7DCE,
  1200. 0x7DD7,0x7DD9,0x7E00,0x7DE2,0x7DE5,0x7DE6,0x7DEA,0x7DEB,
  1201. 0x7DED,0x7DF1,0x7DF5,0x7DF6,0x7DF9,0x7DFA,0x7E08,0x7E10,
  1202. 0x7E11,0x7E15,0x7E17,0x7E1C,0x7E1D,0x7E20,0x7E27,0x7E28,
  1203. 0x7E2C,0x7E2D,0x7E2F,0x7E33,0x7E36,0x7E3F,0x7E44,0x7E45,
  1204. 0x7E47,0x7E4E,0x7E50,0x7E52,0x7E58,0x7E5F,0x7E61,0x7E62,
  1205. 0x7E65,0x7E6B,0x7E6E,0x7E6F,0x7E73,0x7E78,0x7E7E,0x7E81,
  1206. 0x7E86,0x7E87,0x7E8A,0x7E8D,0x7E91,0x7E95,0x7E98,0x7E9A,
  1207. 0x7E9D,0x7E9E,0x7F3C,0x7F3B,0x7F3D,0x7F3E,0x7F3F,0x7F43,
  1208. 0x7F44,0x7F47,0x7F4F,0x7F52,0x7F53,0x7F5B,0x7F5C,0x7F5D,
  1209. 0x7F61,0x7F63,0x7F64,0x7F65,0x7F66,0x7F6D};
  1210. /* page 45 0x5521-0x557E */
  1211. static uint16 tab_jisx0212_uni45[]={
  1212. 0x7F71,0x7F7D,0x7F7E,0x7F7F,0x7F80,0x7F8B,0x7F8D,0x7F8F,
  1213. 0x7F90,0x7F91,0x7F96,0x7F97,0x7F9C,0x7FA1,0x7FA2,0x7FA6,
  1214. 0x7FAA,0x7FAD,0x7FB4,0x7FBC,0x7FBF,0x7FC0,0x7FC3,0x7FC8,
  1215. 0x7FCE,0x7FCF,0x7FDB,0x7FDF,0x7FE3,0x7FE5,0x7FE8,0x7FEC,
  1216. 0x7FEE,0x7FEF,0x7FF2,0x7FFA,0x7FFD,0x7FFE,0x7FFF,0x8007,
  1217. 0x8008,0x800A,0x800D,0x800E,0x800F,0x8011,0x8013,0x8014,
  1218. 0x8016,0x801D,0x801E,0x801F,0x8020,0x8024,0x8026,0x802C,
  1219. 0x802E,0x8030,0x8034,0x8035,0x8037,0x8039,0x803A,0x803C,
  1220. 0x803E,0x8040,0x8044,0x8060,0x8064,0x8066,0x806D,0x8071,
  1221. 0x8075,0x8081,0x8088,0x808E,0x809C,0x809E,0x80A6,0x80A7,
  1222. 0x80AB,0x80B8,0x80B9,0x80C8,0x80CD,0x80CF,0x80D2,0x80D4,
  1223. 0x80D5,0x80D7,0x80D8,0x80E0,0x80ED,0x80EE};
  1224. /* page 46 0x5621-0x567E */
  1225. static uint16 tab_jisx0212_uni46[]={
  1226. 0x80F0,0x80F2,0x80F3,0x80F6,0x80F9,0x80FA,0x80FE,0x8103,
  1227. 0x810B,0x8116,0x8117,0x8118,0x811C,0x811E,0x8120,0x8124,
  1228. 0x8127,0x812C,0x8130,0x8135,0x813A,0x813C,0x8145,0x8147,
  1229. 0x814A,0x814C,0x8152,0x8157,0x8160,0x8161,0x8167,0x8168,
  1230. 0x8169,0x816D,0x816F,0x8177,0x8181,0x8190,0x8184,0x8185,
  1231. 0x8186,0x818B,0x818E,0x8196,0x8198,0x819B,0x819E,0x81A2,
  1232. 0x81AE,0x81B2,0x81B4,0x81BB,0x81CB,0x81C3,0x81C5,0x81CA,
  1233. 0x81CE,0x81CF,0x81D5,0x81D7,0x81DB,0x81DD,0x81DE,0x81E1,
  1234. 0x81E4,0x81EB,0x81EC,0x81F0,0x81F1,0x81F2,0x81F5,0x81F6,
  1235. 0x81F8,0x81F9,0x81FD,0x81FF,0x8200,0x8203,0x820F,0x8213,
  1236. 0x8214,0x8219,0x821A,0x821D,0x8221,0x8222,0x8228,0x8232,
  1237. 0x8234,0x823A,0x8243,0x8244,0x8245,0x8246};
  1238. /* page 47 0x5721-0x577E */
  1239. static uint16 tab_jisx0212_uni47[]={
  1240. 0x824B,0x824E,0x824F,0x8251,0x8256,0x825C,0x8260,0x8263,
  1241. 0x8267,0x826D,0x8274,0x827B,0x827D,0x827F,0x8280,0x8281,
  1242. 0x8283,0x8284,0x8287,0x8289,0x828A,0x828E,0x8291,0x8294,
  1243. 0x8296,0x8298,0x829A,0x829B,0x82A0,0x82A1,0x82A3,0x82A4,
  1244. 0x82A7,0x82A8,0x82A9,0x82AA,0x82AE,0x82B0,0x82B2,0x82B4,
  1245. 0x82B7,0x82BA,0x82BC,0x82BE,0x82BF,0x82C6,0x82D0,0x82D5,
  1246. 0x82DA,0x82E0,0x82E2,0x82E4,0x82E8,0x82EA,0x82ED,0x82EF,
  1247. 0x82F6,0x82F7,0x82FD,0x82FE,0x8300,0x8301,0x8307,0x8308,
  1248. 0x830A,0x830B,0x8354,0x831B,0x831D,0x831E,0x831F,0x8321,
  1249. 0x8322,0x832C,0x832D,0x832E,0x8330,0x8333,0x8337,0x833A,
  1250. 0x833C,0x833D,0x8342,0x8343,0x8344,0x8347,0x834D,0x834E,
  1251. 0x8351,0x8355,0x8356,0x8357,0x8370,0x8378};
  1252. /* page 48 0x5821-0x587E */
  1253. static uint16 tab_jisx0212_uni48[]={
  1254. 0x837D,0x837F,0x8380,0x8382,0x8384,0x8386,0x838D,0x8392,
  1255. 0x8394,0x8395,0x8398,0x8399,0x839B,0x839C,0x839D,0x83A6,
  1256. 0x83A7,0x83A9,0x83AC,0x83BE,0x83BF,0x83C0,0x83C7,0x83C9,
  1257. 0x83CF,0x83D0,0x83D1,0x83D4,0x83DD,0x8353,0x83E8,0x83EA,
  1258. 0x83F6,0x83F8,0x83F9,0x83FC,0x8401,0x8406,0x840A,0x840F,
  1259. 0x8411,0x8415,0x8419,0x83AD,0x842F,0x8439,0x8445,0x8447,
  1260. 0x8448,0x844A,0x844D,0x844F,0x8451,0x8452,0x8456,0x8458,
  1261. 0x8459,0x845A,0x845C,0x8460,0x8464,0x8465,0x8467,0x846A,
  1262. 0x8470,0x8473,0x8474,0x8476,0x8478,0x847C,0x847D,0x8481,
  1263. 0x8485,0x8492,0x8493,0x8495,0x849E,0x84A6,0x84A8,0x84A9,
  1264. 0x84AA,0x84AF,0x84B1,0x84B4,0x84BA,0x84BD,0x84BE,0x84C0,
  1265. 0x84C2,0x84C7,0x84C8,0x84CC,0x84CF,0x84D3};
  1266. /* page 49 0x5921-0x597E */
  1267. static uint16 tab_jisx0212_uni49[]={
  1268. 0x84DC,0x84E7,0x84EA,0x84EF,0x84F0,0x84F1,0x84F2,0x84F7,
  1269. 0x8532,0x84FA,0x84FB,0x84FD,0x8502,0x8503,0x8507,0x850C,
  1270. 0x850E,0x8510,0x851C,0x851E,0x8522,0x8523,0x8524,0x8525,
  1271. 0x8527,0x852A,0x852B,0x852F,0x8533,0x8534,0x8536,0x853F,
  1272. 0x8546,0x854F,0x8550,0x8551,0x8552,0x8553,0x8556,0x8559,
  1273. 0x855C,0x855D,0x855E,0x855F,0x8560,0x8561,0x8562,0x8564,
  1274. 0x856B,0x856F,0x8579,0x857A,0x857B,0x857D,0x857F,0x8581,
  1275. 0x8585,0x8586,0x8589,0x858B,0x858C,0x858F,0x8593,0x8598,
  1276. 0x859D,0x859F,0x85A0,0x85A2,0x85A5,0x85A7,0x85B4,0x85B6,
  1277. 0x85B7,0x85B8,0x85BC,0x85BD,0x85BE,0x85BF,0x85C2,0x85C7,
  1278. 0x85CA,0x85CB,0x85CE,0x85AD,0x85D8,0x85DA,0x85DF,0x85E0,
  1279. 0x85E6,0x85E8,0x85ED,0x85F3,0x85F6,0x85FC};
  1280. /* page 50 0x5A21-0x5A7E */
  1281. static uint16 tab_jisx0212_uni50[]={
  1282. 0x85FF,0x8600,0x8604,0x8605,0x860D,0x860E,0x8610,0x8611,
  1283. 0x8612,0x8618,0x8619,0x861B,0x861E,0x8621,0x8627,0x8629,
  1284. 0x8636,0x8638,0x863A,0x863C,0x863D,0x8640,0x8642,0x8646,
  1285. 0x8652,0x8653,0x8656,0x8657,0x8658,0x8659,0x865D,0x8660,
  1286. 0x8661,0x8662,0x8663,0x8664,0x8669,0x866C,0x866F,0x8675,
  1287. 0x8676,0x8677,0x867A,0x868D,0x8691,0x8696,0x8698,0x869A,
  1288. 0x869C,0x86A1,0x86A6,0x86A7,0x86A8,0x86AD,0x86B1,0x86B3,
  1289. 0x86B4,0x86B5,0x86B7,0x86B8,0x86B9,0x86BF,0x86C0,0x86C1,
  1290. 0x86C3,0x86C5,0x86D1,0x86D2,0x86D5,0x86D7,0x86DA,0x86DC,
  1291. 0x86E0,0x86E3,0x86E5,0x86E7,0x8688,0x86FA,0x86FC,0x86FD,
  1292. 0x8704,0x8705,0x8707,0x870B,0x870E,0x870F,0x8710,0x8713,
  1293. 0x8714,0x8719,0x871E,0x871F,0x8721,0x8723};
  1294. /* page 51 0x5B21-0x5B7E */
  1295. static uint16 tab_jisx0212_uni51[]={
  1296. 0x8728,0x872E,0x872F,0x8731,0x8732,0x8739,0x873A,0x873C,
  1297. 0x873D,0x873E,0x8740,0x8743,0x8745,0x874D,0x8758,0x875D,
  1298. 0x8761,0x8764,0x8765,0x876F,0x8771,0x8772,0x877B,0x8783,
  1299. 0x8784,0x8785,0x8786,0x8787,0x8788,0x8789,0x878B,0x878C,
  1300. 0x8790,0x8793,0x8795,0x8797,0x8798,0x8799,0x879E,0x87A0,
  1301. 0x87A3,0x87A7,0x87AC,0x87AD,0x87AE,0x87B1,0x87B5,0x87BE,
  1302. 0x87BF,0x87C1,0x87C8,0x87C9,0x87CA,0x87CE,0x87D5,0x87D6,
  1303. 0x87D9,0x87DA,0x87DC,0x87DF,0x87E2,0x87E3,0x87E4,0x87EA,
  1304. 0x87EB,0x87ED,0x87F1,0x87F3,0x87F8,0x87FA,0x87FF,0x8801,
  1305. 0x8803,0x8806,0x8809,0x880A,0x880B,0x8810,0x8819,0x8812,
  1306. 0x8813,0x8814,0x8818,0x881A,0x881B,0x881C,0x881E,0x881F,
  1307. 0x8828,0x882D,0x882E,0x8830,0x8832,0x8835};
  1308. /* page 52 0x5C21-0x5C7E */
  1309. static uint16 tab_jisx0212_uni52[]={
  1310. 0x883A,0x883C,0x8841,0x8843,0x8845,0x8848,0x8849,0x884A,
  1311. 0x884B,0x884E,0x8851,0x8855,0x8856,0x8858,0x885A,0x885C,
  1312. 0x885F,0x8860,0x8864,0x8869,0x8871,0x8879,0x887B,0x8880,
  1313. 0x8898,0x889A,0x889B,0x889C,0x889F,0x88A0,0x88A8,0x88AA,
  1314. 0x88BA,0x88BD,0x88BE,0x88C0,0x88CA,0x88CB,0x88CC,0x88CD,
  1315. 0x88CE,0x88D1,0x88D2,0x88D3,0x88DB,0x88DE,0x88E7,0x88EF,
  1316. 0x88F0,0x88F1,0x88F5,0x88F7,0x8901,0x8906,0x890D,0x890E,
  1317. 0x890F,0x8915,0x8916,0x8918,0x8919,0x891A,0x891C,0x8920,
  1318. 0x8926,0x8927,0x8928,0x8930,0x8931,0x8932,0x8935,0x8939,
  1319. 0x893A,0x893E,0x8940,0x8942,0x8945,0x8946,0x8949,0x894F,
  1320. 0x8952,0x8957,0x895A,0x895B,0x895C,0x8961,0x8962,0x8963,
  1321. 0x896B,0x896E,0x8970,0x8973,0x8975,0x897A};
  1322. /* page 53 0x5D21-0x5D7E */
  1323. static uint16 tab_jisx0212_uni53[]={
  1324. 0x897B,0x897C,0x897D,0x8989,0x898D,0x8990,0x8994,0x8995,
  1325. 0x899B,0x899C,0x899F,0x89A0,0x89A5,0x89B0,0x89B4,0x89B5,
  1326. 0x89B6,0x89B7,0x89BC,0x89D4,0x89D5,0x89D6,0x89D7,0x89D8,
  1327. 0x89E5,0x89E9,0x89EB,0x89ED,0x89F1,0x89F3,0x89F6,0x89F9,
  1328. 0x89FD,0x89FF,0x8A04,0x8A05,0x8A07,0x8A0F,0x8A11,0x8A12,
  1329. 0x8A14,0x8A15,0x8A1E,0x8A20,0x8A22,0x8A24,0x8A26,0x8A2B,
  1330. 0x8A2C,0x8A2F,0x8A35,0x8A37,0x8A3D,0x8A3E,0x8A40,0x8A43,
  1331. 0x8A45,0x8A47,0x8A49,0x8A4D,0x8A4E,0x8A53,0x8A56,0x8A57,
  1332. 0x8A58,0x8A5C,0x8A5D,0x8A61,0x8A65,0x8A67,0x8A75,0x8A76,
  1333. 0x8A77,0x8A79,0x8A7A,0x8A7B,0x8A7E,0x8A7F,0x8A80,0x8A83,
  1334. 0x8A86,0x8A8B,0x8A8F,0x8A90,0x8A92,0x8A96,0x8A97,0x8A99,
  1335. 0x8A9F,0x8AA7,0x8AA9,0x8AAE,0x8AAF,0x8AB3};
  1336. /* page 54 0x5E21-0x5E7E */
  1337. static uint16 tab_jisx0212_uni54[]={
  1338. 0x8AB6,0x8AB7,0x8ABB,0x8ABE,0x8AC3,0x8AC6,0x8AC8,0x8AC9,
  1339. 0x8ACA,0x8AD1,0x8AD3,0x8AD4,0x8AD5,0x8AD7,0x8ADD,0x8ADF,
  1340. 0x8AEC,0x8AF0,0x8AF4,0x8AF5,0x8AF6,0x8AFC,0x8AFF,0x8B05,
  1341. 0x8B06,0x8B0B,0x8B11,0x8B1C,0x8B1E,0x8B1F,0x8B0A,0x8B2D,
  1342. 0x8B30,0x8B37,0x8B3C,0x8B42,0x8B43,0x8B44,0x8B45,0x8B46,
  1343. 0x8B48,0x8B52,0x8B53,0x8B54,0x8B59,0x8B4D,0x8B5E,0x8B63,
  1344. 0x8B6D,0x8B76,0x8B78,0x8B79,0x8B7C,0x8B7E,0x8B81,0x8B84,
  1345. 0x8B85,0x8B8B,0x8B8D,0x8B8F,0x8B94,0x8B95,0x8B9C,0x8B9E,
  1346. 0x8B9F,0x8C38,0x8C39,0x8C3D,0x8C3E,0x8C45,0x8C47,0x8C49,
  1347. 0x8C4B,0x8C4F,0x8C51,0x8C53,0x8C54,0x8C57,0x8C58,0x8C5B,
  1348. 0x8C5D,0x8C59,0x8C63,0x8C64,0x8C66,0x8C68,0x8C69,0x8C6D,
  1349. 0x8C73,0x8C75,0x8C76,0x8C7B,0x8C7E,0x8C86};
  1350. /* page 55 0x5F21-0x5F7E */
  1351. static uint16 tab_jisx0212_uni55[]={
  1352. 0x8C87,0x8C8B,0x8C90,0x8C92,0x8C93,0x8C99,0x8C9B,0x8C9C,
  1353. 0x8CA4,0x8CB9,0x8CBA,0x8CC5,0x8CC6,0x8CC9,0x8CCB,0x8CCF,
  1354. 0x8CD6,0x8CD5,0x8CD9,0x8CDD,0x8CE1,0x8CE8,0x8CEC,0x8CEF,
  1355. 0x8CF0,0x8CF2,0x8CF5,0x8CF7,0x8CF8,0x8CFE,0x8CFF,0x8D01,
  1356. 0x8D03,0x8D09,0x8D12,0x8D17,0x8D1B,0x8D65,0x8D69,0x8D6C,
  1357. 0x8D6E,0x8D7F,0x8D82,0x8D84,0x8D88,0x8D8D,0x8D90,0x8D91,
  1358. 0x8D95,0x8D9E,0x8D9F,0x8DA0,0x8DA6,0x8DAB,0x8DAC,0x8DAF,
  1359. 0x8DB2,0x8DB5,0x8DB7,0x8DB9,0x8DBB,0x8DC0,0x8DC5,0x8DC6,
  1360. 0x8DC7,0x8DC8,0x8DCA,0x8DCE,0x8DD1,0x8DD4,0x8DD5,0x8DD7,
  1361. 0x8DD9,0x8DE4,0x8DE5,0x8DE7,0x8DEC,0x8DF0,0x8DBC,0x8DF1,
  1362. 0x8DF2,0x8DF4,0x8DFD,0x8E01,0x8E04,0x8E05,0x8E06,0x8E0B,
  1363. 0x8E11,0x8E14,0x8E16,0x8E20,0x8E21,0x8E22};
  1364. /* page 56 0x6021-0x607E */
  1365. static uint16 tab_jisx0212_uni56[]={
  1366. 0x8E23,0x8E26,0x8E27,0x8E31,0x8E33,0x8E36,0x8E37,0x8E38,
  1367. 0x8E39,0x8E3D,0x8E40,0x8E41,0x8E4B,0x8E4D,0x8E4E,0x8E4F,
  1368. 0x8E54,0x8E5B,0x8E5C,0x8E5D,0x8E5E,0x8E61,0x8E62,0x8E69,
  1369. 0x8E6C,0x8E6D,0x8E6F,0x8E70,0x8E71,0x8E79,0x8E7A,0x8E7B,
  1370. 0x8E82,0x8E83,0x8E89,0x8E90,0x8E92,0x8E95,0x8E9A,0x8E9B,
  1371. 0x8E9D,0x8E9E,0x8EA2,0x8EA7,0x8EA9,0x8EAD,0x8EAE,0x8EB3,
  1372. 0x8EB5,0x8EBA,0x8EBB,0x8EC0,0x8EC1,0x8EC3,0x8EC4,0x8EC7,
  1373. 0x8ECF,0x8ED1,0x8ED4,0x8EDC,0x8EE8,0x8EEE,0x8EF0,0x8EF1,
  1374. 0x8EF7,0x8EF9,0x8EFA,0x8EED,0x8F00,0x8F02,0x8F07,0x8F08,
  1375. 0x8F0F,0x8F10,0x8F16,0x8F17,0x8F18,0x8F1E,0x8F20,0x8F21,
  1376. 0x8F23,0x8F25,0x8F27,0x8F28,0x8F2C,0x8F2D,0x8F2E,0x8F34,
  1377. 0x8F35,0x8F36,0x8F37,0x8F3A,0x8F40,0x8F41};
  1378. /* page 57 0x6121-0x617E */
  1379. static uint16 tab_jisx0212_uni57[]={
  1380. 0x8F43,0x8F47,0x8F4F,0x8F51,0x8F52,0x8F53,0x8F54,0x8F55,
  1381. 0x8F58,0x8F5D,0x8F5E,0x8F65,0x8F9D,0x8FA0,0x8FA1,0x8FA4,
  1382. 0x8FA5,0x8FA6,0x8FB5,0x8FB6,0x8FB8,0x8FBE,0x8FC0,0x8FC1,
  1383. 0x8FC6,0x8FCA,0x8FCB,0x8FCD,0x8FD0,0x8FD2,0x8FD3,0x8FD5,
  1384. 0x8FE0,0x8FE3,0x8FE4,0x8FE8,0x8FEE,0x8FF1,0x8FF5,0x8FF6,
  1385. 0x8FFB,0x8FFE,0x9002,0x9004,0x9008,0x900C,0x9018,0x901B,
  1386. 0x9028,0x9029,0x902F,0x902A,0x902C,0x902D,0x9033,0x9034,
  1387. 0x9037,0x903F,0x9043,0x9044,0x904C,0x905B,0x905D,0x9062,
  1388. 0x9066,0x9067,0x906C,0x9070,0x9074,0x9079,0x9085,0x9088,
  1389. 0x908B,0x908C,0x908E,0x9090,0x9095,0x9097,0x9098,0x9099,
  1390. 0x909B,0x90A0,0x90A1,0x90A2,0x90A5,0x90B0,0x90B2,0x90B3,
  1391. 0x90B4,0x90B6,0x90BD,0x90CC,0x90BE,0x90C3};
  1392. /* page 58 0x6221-0x627E */
  1393. static uint16 tab_jisx0212_uni58[]={
  1394. 0x90C4,0x90C5,0x90C7,0x90C8,0x90D5,0x90D7,0x90D8,0x90D9,
  1395. 0x90DC,0x90DD,0x90DF,0x90E5,0x90D2,0x90F6,0x90EB,0x90EF,
  1396. 0x90F0,0x90F4,0x90FE,0x90FF,0x9100,0x9104,0x9105,0x9106,
  1397. 0x9108,0x910D,0x9110,0x9114,0x9116,0x9117,0x9118,0x911A,
  1398. 0x911C,0x911E,0x9120,0x9125,0x9122,0x9123,0x9127,0x9129,
  1399. 0x912E,0x912F,0x9131,0x9134,0x9136,0x9137,0x9139,0x913A,
  1400. 0x913C,0x913D,0x9143,0x9147,0x9148,0x914F,0x9153,0x9157,
  1401. 0x9159,0x915A,0x915B,0x9161,0x9164,0x9167,0x916D,0x9174,
  1402. 0x9179,0x917A,0x917B,0x9181,0x9183,0x9185,0x9186,0x918A,
  1403. 0x918E,0x9191,0x9193,0x9194,0x9195,0x9198,0x919E,0x91A1,
  1404. 0x91A6,0x91A8,0x91AC,0x91AD,0x91AE,0x91B0,0x91B1,0x91B2,
  1405. 0x91B3,0x91B6,0x91BB,0x91BC,0x91BD,0x91BF};
  1406. /* page 59 0x6321-0x637E */
  1407. static uint16 tab_jisx0212_uni59[]={
  1408. 0x91C2,0x91C3,0x91C5,0x91D3,0x91D4,0x91D7,0x91D9,0x91DA,
  1409. 0x91DE,0x91E4,0x91E5,0x91E9,0x91EA,0x91EC,0x91ED,0x91EE,
  1410. 0x91EF,0x91F0,0x91F1,0x91F7,0x91F9,0x91FB,0x91FD,0x9200,
  1411. 0x9201,0x9204,0x9205,0x9206,0x9207,0x9209,0x920A,0x920C,
  1412. 0x9210,0x9212,0x9213,0x9216,0x9218,0x921C,0x921D,0x9223,
  1413. 0x9224,0x9225,0x9226,0x9228,0x922E,0x922F,0x9230,0x9233,
  1414. 0x9235,0x9236,0x9238,0x9239,0x923A,0x923C,0x923E,0x9240,
  1415. 0x9242,0x9243,0x9246,0x9247,0x924A,0x924D,0x924E,0x924F,
  1416. 0x9251,0x9258,0x9259,0x925C,0x925D,0x9260,0x9261,0x9265,
  1417. 0x9267,0x9268,0x9269,0x926E,0x926F,0x9270,0x9275,0x9276,
  1418. 0x9277,0x9278,0x9279,0x927B,0x927C,0x927D,0x927F,0x9288,
  1419. 0x9289,0x928A,0x928D,0x928E,0x9292,0x9297};
  1420. /* page 60 0x6421-0x647E */
  1421. static uint16 tab_jisx0212_uni60[]={
  1422. 0x9299,0x929F,0x92A0,0x92A4,0x92A5,0x92A7,0x92A8,0x92AB,
  1423. 0x92AF,0x92B2,0x92B6,0x92B8,0x92BA,0x92BB,0x92BC,0x92BD,
  1424. 0x92BF,0x92C0,0x92C1,0x92C2,0x92C3,0x92C5,0x92C6,0x92C7,
  1425. 0x92C8,0x92CB,0x92CC,0x92CD,0x92CE,0x92D0,0x92D3,0x92D5,
  1426. 0x92D7,0x92D8,0x92D9,0x92DC,0x92DD,0x92DF,0x92E0,0x92E1,
  1427. 0x92E3,0x92E5,0x92E7,0x92E8,0x92EC,0x92EE,0x92F0,0x92F9,
  1428. 0x92FB,0x92FF,0x9300,0x9302,0x9308,0x930D,0x9311,0x9314,
  1429. 0x9315,0x931C,0x931D,0x931E,0x931F,0x9321,0x9324,0x9325,
  1430. 0x9327,0x9329,0x932A,0x9333,0x9334,0x9336,0x9337,0x9347,
  1431. 0x9348,0x9349,0x9350,0x9351,0x9352,0x9355,0x9357,0x9358,
  1432. 0x935A,0x935E,0x9364,0x9365,0x9367,0x9369,0x936A,0x936D,
  1433. 0x936F,0x9370,0x9371,0x9373,0x9374,0x9376};
  1434. /* page 61 0x6521-0x657E */
  1435. static uint16 tab_jisx0212_uni61[]={
  1436. 0x937A,0x937D,0x937F,0x9380,0x9381,0x9382,0x9388,0x938A,
  1437. 0x938B,0x938D,0x938F,0x9392,0x9395,0x9398,0x939B,0x939E,
  1438. 0x93A1,0x93A3,0x93A4,0x93A6,0x93A8,0x93AB,0x93B4,0x93B5,
  1439. 0x93B6,0x93BA,0x93A9,0x93C1,0x93C4,0x93C5,0x93C6,0x93C7,
  1440. 0x93C9,0x93CA,0x93CB,0x93CC,0x93CD,0x93D3,0x93D9,0x93DC,
  1441. 0x93DE,0x93DF,0x93E2,0x93E6,0x93E7,0x93F9,0x93F7,0x93F8,
  1442. 0x93FA,0x93FB,0x93FD,0x9401,0x9402,0x9404,0x9408,0x9409,
  1443. 0x940D,0x940E,0x940F,0x9415,0x9416,0x9417,0x941F,0x942E,
  1444. 0x942F,0x9431,0x9432,0x9433,0x9434,0x943B,0x943F,0x943D,
  1445. 0x9443,0x9445,0x9448,0x944A,0x944C,0x9455,0x9459,0x945C,
  1446. 0x945F,0x9461,0x9463,0x9468,0x946B,0x946D,0x946E,0x946F,
  1447. 0x9471,0x9472,0x9484,0x9483,0x9578,0x9579};
  1448. /* page 62 0x6621-0x667E */
  1449. static uint16 tab_jisx0212_uni62[]={
  1450. 0x957E,0x9584,0x9588,0x958C,0x958D,0x958E,0x959D,0x959E,
  1451. 0x959F,0x95A1,0x95A6,0x95A9,0x95AB,0x95AC,0x95B4,0x95B6,
  1452. 0x95BA,0x95BD,0x95BF,0x95C6,0x95C8,0x95C9,0x95CB,0x95D0,
  1453. 0x95D1,0x95D2,0x95D3,0x95D9,0x95DA,0x95DD,0x95DE,0x95DF,
  1454. 0x95E0,0x95E4,0x95E6,0x961D,0x961E,0x9622,0x9624,0x9625,
  1455. 0x9626,0x962C,0x9631,0x9633,0x9637,0x9638,0x9639,0x963A,
  1456. 0x963C,0x963D,0x9641,0x9652,0x9654,0x9656,0x9657,0x9658,
  1457. 0x9661,0x966E,0x9674,0x967B,0x967C,0x967E,0x967F,0x9681,
  1458. 0x9682,0x9683,0x9684,0x9689,0x9691,0x9696,0x969A,0x969D,
  1459. 0x969F,0x96A4,0x96A5,0x96A6,0x96A9,0x96AE,0x96AF,0x96B3,
  1460. 0x96BA,0x96CA,0x96D2,0x5DB2,0x96D8,0x96DA,0x96DD,0x96DE,
  1461. 0x96DF,0x96E9,0x96EF,0x96F1,0x96FA,0x9702};
  1462. /* page 63 0x6721-0x677E */
  1463. static uint16 tab_jisx0212_uni63[]={
  1464. 0x9703,0x9705,0x9709,0x971A,0x971B,0x971D,0x9721,0x9722,
  1465. 0x9723,0x9728,0x9731,0x9733,0x9741,0x9743,0x974A,0x974E,
  1466. 0x974F,0x9755,0x9757,0x9758,0x975A,0x975B,0x9763,0x9767,
  1467. 0x976A,0x976E,0x9773,0x9776,0x9777,0x9778,0x977B,0x977D,
  1468. 0x977F,0x9780,0x9789,0x9795,0x9796,0x9797,0x9799,0x979A,
  1469. 0x979E,0x979F,0x97A2,0x97AC,0x97AE,0x97B1,0x97B2,0x97B5,
  1470. 0x97B6,0x97B8,0x97B9,0x97BA,0x97BC,0x97BE,0x97BF,0x97C1,
  1471. 0x97C4,0x97C5,0x97C7,0x97C9,0x97CA,0x97CC,0x97CD,0x97CE,
  1472. 0x97D0,0x97D1,0x97D4,0x97D7,0x97D8,0x97D9,0x97DD,0x97DE,
  1473. 0x97E0,0x97DB,0x97E1,0x97E4,0x97EF,0x97F1,0x97F4,0x97F7,
  1474. 0x97F8,0x97FA,0x9807,0x980A,0x9819,0x980D,0x980E,0x9814,
  1475. 0x9816,0x981C,0x981E,0x9820,0x9823,0x9826};
  1476. /* page 64 0x6821-0x687E */
  1477. static uint16 tab_jisx0212_uni64[]={
  1478. 0x982B,0x982E,0x982F,0x9830,0x9832,0x9833,0x9835,0x9825,
  1479. 0x983E,0x9844,0x9847,0x984A,0x9851,0x9852,0x9853,0x9856,
  1480. 0x9857,0x9859,0x985A,0x9862,0x9863,0x9865,0x9866,0x986A,
  1481. 0x986C,0x98AB,0x98AD,0x98AE,0x98B0,0x98B4,0x98B7,0x98B8,
  1482. 0x98BA,0x98BB,0x98BF,0x98C2,0x98C5,0x98C8,0x98CC,0x98E1,
  1483. 0x98E3,0x98E5,0x98E6,0x98E7,0x98EA,0x98F3,0x98F6,0x9902,
  1484. 0x9907,0x9908,0x9911,0x9915,0x9916,0x9917,0x991A,0x991B,
  1485. 0x991C,0x991F,0x9922,0x9926,0x9927,0x992B,0x9931,0x9932,
  1486. 0x9933,0x9934,0x9935,0x9939,0x993A,0x993B,0x993C,0x9940,
  1487. 0x9941,0x9946,0x9947,0x9948,0x994D,0x994E,0x9954,0x9958,
  1488. 0x9959,0x995B,0x995C,0x995E,0x995F,0x9960,0x999B,0x999D,
  1489. 0x999F,0x99A6,0x99B0,0x99B1,0x99B2,0x99B5};
  1490. /* page 65 0x6921-0x697E */
  1491. static uint16 tab_jisx0212_uni65[]={
  1492. 0x99B9,0x99BA,0x99BD,0x99BF,0x99C3,0x99C9,0x99D3,0x99D4,
  1493. 0x99D9,0x99DA,0x99DC,0x99DE,0x99E7,0x99EA,0x99EB,0x99EC,
  1494. 0x99F0,0x99F4,0x99F5,0x99F9,0x99FD,0x99FE,0x9A02,0x9A03,
  1495. 0x9A04,0x9A0B,0x9A0C,0x9A10,0x9A11,0x9A16,0x9A1E,0x9A20,
  1496. 0x9A22,0x9A23,0x9A24,0x9A27,0x9A2D,0x9A2E,0x9A33,0x9A35,
  1497. 0x9A36,0x9A38,0x9A47,0x9A41,0x9A44,0x9A4A,0x9A4B,0x9A4C,
  1498. 0x9A4E,0x9A51,0x9A54,0x9A56,0x9A5D,0x9AAA,0x9AAC,0x9AAE,
  1499. 0x9AAF,0x9AB2,0x9AB4,0x9AB5,0x9AB6,0x9AB9,0x9ABB,0x9ABE,
  1500. 0x9ABF,0x9AC1,0x9AC3,0x9AC6,0x9AC8,0x9ACE,0x9AD0,0x9AD2,
  1501. 0x9AD5,0x9AD6,0x9AD7,0x9ADB,0x9ADC,0x9AE0,0x9AE4,0x9AE5,
  1502. 0x9AE7,0x9AE9,0x9AEC,0x9AF2,0x9AF3,0x9AF5,0x9AF9,0x9AFA,
  1503. 0x9AFD,0x9AFF,0x9B00,0x9B01,0x9B02,0x9B03};
  1504. /* page 66 0x6A21-0x6A7E */
  1505. static uint16 tab_jisx0212_uni66[]={
  1506. 0x9B04,0x9B05,0x9B08,0x9B09,0x9B0B,0x9B0C,0x9B0D,0x9B0E,
  1507. 0x9B10,0x9B12,0x9B16,0x9B19,0x9B1B,0x9B1C,0x9B20,0x9B26,
  1508. 0x9B2B,0x9B2D,0x9B33,0x9B34,0x9B35,0x9B37,0x9B39,0x9B3A,
  1509. 0x9B3D,0x9B48,0x9B4B,0x9B4C,0x9B55,0x9B56,0x9B57,0x9B5B,
  1510. 0x9B5E,0x9B61,0x9B63,0x9B65,0x9B66,0x9B68,0x9B6A,0x9B6B,
  1511. 0x9B6C,0x9B6D,0x9B6E,0x9B73,0x9B75,0x9B77,0x9B78,0x9B79,
  1512. 0x9B7F,0x9B80,0x9B84,0x9B85,0x9B86,0x9B87,0x9B89,0x9B8A,
  1513. 0x9B8B,0x9B8D,0x9B8F,0x9B90,0x9B94,0x9B9A,0x9B9D,0x9B9E,
  1514. 0x9BA6,0x9BA7,0x9BA9,0x9BAC,0x9BB0,0x9BB1,0x9BB2,0x9BB7,
  1515. 0x9BB8,0x9BBB,0x9BBC,0x9BBE,0x9BBF,0x9BC1,0x9BC7,0x9BC8,
  1516. 0x9BCE,0x9BD0,0x9BD7,0x9BD8,0x9BDD,0x9BDF,0x9BE5,0x9BE7,
  1517. 0x9BEA,0x9BEB,0x9BEF,0x9BF3,0x9BF7,0x9BF8};
  1518. /* page 67 0x6B21-0x6B7E */
  1519. static uint16 tab_jisx0212_uni67[]={
  1520. 0x9BF9,0x9BFA,0x9BFD,0x9BFF,0x9C00,0x9C02,0x9C0B,0x9C0F,
  1521. 0x9C11,0x9C16,0x9C18,0x9C19,0x9C1A,0x9C1C,0x9C1E,0x9C22,
  1522. 0x9C23,0x9C26,0x9C27,0x9C28,0x9C29,0x9C2A,0x9C31,0x9C35,
  1523. 0x9C36,0x9C37,0x9C3D,0x9C41,0x9C43,0x9C44,0x9C45,0x9C49,
  1524. 0x9C4A,0x9C4E,0x9C4F,0x9C50,0x9C53,0x9C54,0x9C56,0x9C58,
  1525. 0x9C5B,0x9C5D,0x9C5E,0x9C5F,0x9C63,0x9C69,0x9C6A,0x9C5C,
  1526. 0x9C6B,0x9C68,0x9C6E,0x9C70,0x9C72,0x9C75,0x9C77,0x9C7B,
  1527. 0x9CE6,0x9CF2,0x9CF7,0x9CF9,0x9D0B,0x9D02,0x9D11,0x9D17,
  1528. 0x9D18,0x9D1C,0x9D1D,0x9D1E,0x9D2F,0x9D30,0x9D32,0x9D33,
  1529. 0x9D34,0x9D3A,0x9D3C,0x9D45,0x9D3D,0x9D42,0x9D43,0x9D47,
  1530. 0x9D4A,0x9D53,0x9D54,0x9D5F,0x9D63,0x9D62,0x9D65,0x9D69,
  1531. 0x9D6A,0x9D6B,0x9D70,0x9D76,0x9D77,0x9D7B};
  1532. /* page 68 0x6C21-0x6C7E */
  1533. static uint16 tab_jisx0212_uni68[]={
  1534. 0x9D7C,0x9D7E,0x9D83,0x9D84,0x9D86,0x9D8A,0x9D8D,0x9D8E,
  1535. 0x9D92,0x9D93,0x9D95,0x9D96,0x9D97,0x9D98,0x9DA1,0x9DAA,
  1536. 0x9DAC,0x9DAE,0x9DB1,0x9DB5,0x9DB9,0x9DBC,0x9DBF,0x9DC3,
  1537. 0x9DC7,0x9DC9,0x9DCA,0x9DD4,0x9DD5,0x9DD6,0x9DD7,0x9DDA,
  1538. 0x9DDE,0x9DDF,0x9DE0,0x9DE5,0x9DE7,0x9DE9,0x9DEB,0x9DEE,
  1539. 0x9DF0,0x9DF3,0x9DF4,0x9DFE,0x9E0A,0x9E02,0x9E07,0x9E0E,
  1540. 0x9E10,0x9E11,0x9E12,0x9E15,0x9E16,0x9E19,0x9E1C,0x9E1D,
  1541. 0x9E7A,0x9E7B,0x9E7C,0x9E80,0x9E82,0x9E83,0x9E84,0x9E85,
  1542. 0x9E87,0x9E8E,0x9E8F,0x9E96,0x9E98,0x9E9B,0x9E9E,0x9EA4,
  1543. 0x9EA8,0x9EAC,0x9EAE,0x9EAF,0x9EB0,0x9EB3,0x9EB4,0x9EB5,
  1544. 0x9EC6,0x9EC8,0x9ECB,0x9ED5,0x9EDF,0x9EE4,0x9EE7,0x9EEC,
  1545. 0x9EED,0x9EEE,0x9EF0,0x9EF1,0x9EF2,0x9EF5};
  1546. /* page 69 0x6D21-0x6D63 */
  1547. static uint16 tab_jisx0212_uni69[]={
  1548. 0x9EF8,0x9EFF,0x9F02,0x9F03,0x9F09,0x9F0F,0x9F10,0x9F11,
  1549. 0x9F12,0x9F14,0x9F16,0x9F17,0x9F19,0x9F1A,0x9F1B,0x9F1F,
  1550. 0x9F22,0x9F26,0x9F2A,0x9F2B,0x9F2F,0x9F31,0x9F32,0x9F34,
  1551. 0x9F37,0x9F39,0x9F3A,0x9F3C,0x9F3D,0x9F3F,0x9F41,0x9F43,
  1552. 0x9F44,0x9F45,0x9F46,0x9F47,0x9F53,0x9F55,0x9F56,0x9F57,
  1553. 0x9F58,0x9F5A,0x9F5D,0x9F5E,0x9F68,0x9F69,0x9F6D,0x9F6E,
  1554. 0x9F6F,0x9F70,0x9F71,0x9F73,0x9F75,0x9F7A,0x9F7D,0x9F8F,
  1555. 0x9F90,0x9F91,0x9F92,0x9F94,0x9F96,0x9F97,0x9F9E,0x9FA1,
  1556. 0x9FA2,0x9FA3,0x9FA5};
  1557. static int
  1558. my_jisx0212_uni_onechar(int code){
  1559.     if ((code>=0x222F)&&(code<=0x2244))
  1560.       return(tab_jisx0212_uni0[code-0x222F]);
  1561.     if ((code>=0x226B)&&(code<=0x2271))
  1562.       return(tab_jisx0212_uni1[code-0x226B]);
  1563.     if ((code>=0x2661)&&(code<=0x267C))
  1564.       return(tab_jisx0212_uni2[code-0x2661]);
  1565.     if ((code>=0x2742)&&(code<=0x274E))
  1566.       return(tab_jisx0212_uni3[code-0x2742]);
  1567.     if ((code>=0x2772)&&(code<=0x277E))
  1568.       return(tab_jisx0212_uni4[code-0x2772]);
  1569.     if ((code>=0x2921)&&(code<=0x2950))
  1570.       return(tab_jisx0212_uni5[code-0x2921]);
  1571.     if ((code>=0x2A21)&&(code<=0x2A77))
  1572.       return(tab_jisx0212_uni6[code-0x2A21]);
  1573.     if ((code>=0x2B21)&&(code<=0x2B77))
  1574.       return(tab_jisx0212_uni7[code-0x2B21]);
  1575.     if ((code>=0x3021)&&(code<=0x307E))
  1576.       return(tab_jisx0212_uni8[code-0x3021]);
  1577.     if ((code>=0x3121)&&(code<=0x317E))
  1578.       return(tab_jisx0212_uni9[code-0x3121]);
  1579.     if ((code>=0x3221)&&(code<=0x327E))
  1580.       return(tab_jisx0212_uni10[code-0x3221]);
  1581.     if ((code>=0x3321)&&(code<=0x337E))
  1582.       return(tab_jisx0212_uni11[code-0x3321]);
  1583.     if ((code>=0x3421)&&(code<=0x347E))
  1584.       return(tab_jisx0212_uni12[code-0x3421]);
  1585.     if ((code>=0x3521)&&(code<=0x357E))
  1586.       return(tab_jisx0212_uni13[code-0x3521]);
  1587.     if ((code>=0x3621)&&(code<=0x367E))
  1588.       return(tab_jisx0212_uni14[code-0x3621]);
  1589.     if ((code>=0x3721)&&(code<=0x377E))
  1590.       return(tab_jisx0212_uni15[code-0x3721]);
  1591.     if ((code>=0x3821)&&(code<=0x387E))
  1592.       return(tab_jisx0212_uni16[code-0x3821]);
  1593.     if ((code>=0x3921)&&(code<=0x397E))
  1594.       return(tab_jisx0212_uni17[code-0x3921]);
  1595.     if ((code>=0x3A21)&&(code<=0x3A7E))
  1596.       return(tab_jisx0212_uni18[code-0x3A21]);
  1597.     if ((code>=0x3B21)&&(code<=0x3B7E))
  1598.       return(tab_jisx0212_uni19[code-0x3B21]);
  1599.     if ((code>=0x3C21)&&(code<=0x3C7E))
  1600.       return(tab_jisx0212_uni20[code-0x3C21]);
  1601.     if ((code>=0x3D21)&&(code<=0x3D7E))
  1602.       return(tab_jisx0212_uni21[code-0x3D21]);
  1603.     if ((code>=0x3E21)&&(code<=0x3E7E))
  1604.       return(tab_jisx0212_uni22[code-0x3E21]);
  1605.     if ((code>=0x3F21)&&(code<=0x3F7E))
  1606.       return(tab_jisx0212_uni23[code-0x3F21]);
  1607.     if ((code>=0x4021)&&(code<=0x407E))
  1608.       return(tab_jisx0212_uni24[code-0x4021]);
  1609.     if ((code>=0x4121)&&(code<=0x417E))
  1610.       return(tab_jisx0212_uni25[code-0x4121]);
  1611.     if ((code>=0x4221)&&(code<=0x427E))
  1612.       return(tab_jisx0212_uni26[code-0x4221]);
  1613.     if ((code>=0x4321)&&(code<=0x437E))
  1614.       return(tab_jisx0212_uni27[code-0x4321]);
  1615.     if ((code>=0x4421)&&(code<=0x447E))
  1616.       return(tab_jisx0212_uni28[code-0x4421]);
  1617.     if ((code>=0x4521)&&(code<=0x457E))
  1618.       return(tab_jisx0212_uni29[code-0x4521]);
  1619.     if ((code>=0x4621)&&(code<=0x467E))
  1620.       return(tab_jisx0212_uni30[code-0x4621]);
  1621.     if ((code>=0x4721)&&(code<=0x477E))
  1622.       return(tab_jisx0212_uni31[code-0x4721]);
  1623.     if ((code>=0x4821)&&(code<=0x487E))
  1624.       return(tab_jisx0212_uni32[code-0x4821]);
  1625.     if ((code>=0x4921)&&(code<=0x497E))
  1626.       return(tab_jisx0212_uni33[code-0x4921]);
  1627.     if ((code>=0x4A21)&&(code<=0x4A7E))
  1628.       return(tab_jisx0212_uni34[code-0x4A21]);
  1629.     if ((code>=0x4B21)&&(code<=0x4B7E))
  1630.       return(tab_jisx0212_uni35[code-0x4B21]);
  1631.     if ((code>=0x4C21)&&(code<=0x4C7E))
  1632.       return(tab_jisx0212_uni36[code-0x4C21]);
  1633.     if ((code>=0x4D21)&&(code<=0x4D7E))
  1634.       return(tab_jisx0212_uni37[code-0x4D21]);
  1635.     if ((code>=0x4E21)&&(code<=0x4E7E))
  1636.       return(tab_jisx0212_uni38[code-0x4E21]);
  1637.     if ((code>=0x4F21)&&(code<=0x4F7E))
  1638.       return(tab_jisx0212_uni39[code-0x4F21]);
  1639.     if ((code>=0x5021)&&(code<=0x507E))
  1640.       return(tab_jisx0212_uni40[code-0x5021]);
  1641.     if ((code>=0x5121)&&(code<=0x517E))
  1642.       return(tab_jisx0212_uni41[code-0x5121]);
  1643.     if ((code>=0x5221)&&(code<=0x527E))
  1644.       return(tab_jisx0212_uni42[code-0x5221]);
  1645.     if ((code>=0x5321)&&(code<=0x537E))
  1646.       return(tab_jisx0212_uni43[code-0x5321]);
  1647.     if ((code>=0x5421)&&(code<=0x547E))
  1648.       return(tab_jisx0212_uni44[code-0x5421]);
  1649.     if ((code>=0x5521)&&(code<=0x557E))
  1650.       return(tab_jisx0212_uni45[code-0x5521]);
  1651.     if ((code>=0x5621)&&(code<=0x567E))
  1652.       return(tab_jisx0212_uni46[code-0x5621]);
  1653.     if ((code>=0x5721)&&(code<=0x577E))
  1654.       return(tab_jisx0212_uni47[code-0x5721]);
  1655.     if ((code>=0x5821)&&(code<=0x587E))
  1656.       return(tab_jisx0212_uni48[code-0x5821]);
  1657.     if ((code>=0x5921)&&(code<=0x597E))
  1658.       return(tab_jisx0212_uni49[code-0x5921]);
  1659.     if ((code>=0x5A21)&&(code<=0x5A7E))
  1660.       return(tab_jisx0212_uni50[code-0x5A21]);
  1661.     if ((code>=0x5B21)&&(code<=0x5B7E))
  1662.       return(tab_jisx0212_uni51[code-0x5B21]);
  1663.     if ((code>=0x5C21)&&(code<=0x5C7E))
  1664.       return(tab_jisx0212_uni52[code-0x5C21]);
  1665.     if ((code>=0x5D21)&&(code<=0x5D7E))
  1666.       return(tab_jisx0212_uni53[code-0x5D21]);
  1667.     if ((code>=0x5E21)&&(code<=0x5E7E))
  1668.       return(tab_jisx0212_uni54[code-0x5E21]);
  1669.     if ((code>=0x5F21)&&(code<=0x5F7E))
  1670.       return(tab_jisx0212_uni55[code-0x5F21]);
  1671.     if ((code>=0x6021)&&(code<=0x607E))
  1672.       return(tab_jisx0212_uni56[code-0x6021]);
  1673.     if ((code>=0x6121)&&(code<=0x617E))
  1674.       return(tab_jisx0212_uni57[code-0x6121]);
  1675.     if ((code>=0x6221)&&(code<=0x627E))
  1676.       return(tab_jisx0212_uni58[code-0x6221]);
  1677.     if ((code>=0x6321)&&(code<=0x637E))
  1678.       return(tab_jisx0212_uni59[code-0x6321]);
  1679.     if ((code>=0x6421)&&(code<=0x647E))
  1680.       return(tab_jisx0212_uni60[code-0x6421]);
  1681.     if ((code>=0x6521)&&(code<=0x657E))
  1682.       return(tab_jisx0212_uni61[code-0x6521]);
  1683.     if ((code>=0x6621)&&(code<=0x667E))
  1684.       return(tab_jisx0212_uni62[code-0x6621]);
  1685.     if ((code>=0x6721)&&(code<=0x677E))
  1686.       return(tab_jisx0212_uni63[code-0x6721]);
  1687.     if ((code>=0x6821)&&(code<=0x687E))
  1688.       return(tab_jisx0212_uni64[code-0x6821]);
  1689.     if ((code>=0x6921)&&(code<=0x697E))
  1690.       return(tab_jisx0212_uni65[code-0x6921]);
  1691.     if ((code>=0x6A21)&&(code<=0x6A7E))
  1692.       return(tab_jisx0212_uni66[code-0x6A21]);
  1693.     if ((code>=0x6B21)&&(code<=0x6B7E))
  1694.       return(tab_jisx0212_uni67[code-0x6B21]);
  1695.     if ((code>=0x6C21)&&(code<=0x6C7E))
  1696.       return(tab_jisx0212_uni68[code-0x6C21]);
  1697.     if ((code>=0x6D21)&&(code<=0x6D63))
  1698.       return(tab_jisx0212_uni69[code-0x6D21]);
  1699.   return(0);
  1700. }
  1701. /*
  1702.   EUC-JP encoding subcomponents:
  1703.   [x00-x7F] # ASCII/JIS-Roman (one-byte/character)  
  1704.   [x8E][xA0-xDF] # half-width katakana (two bytes/char)  
  1705.   [x8F][xA1-xFE][xA1-xFE] # JIS X 0212-1990 (three bytes/char)  
  1706.   [xA1-xFE][xA1-xFE] # JIS X 0208:1997 (two bytes/char)
  1707. */
  1708. static
  1709. uint my_well_formed_len_ujis(CHARSET_INFO *cs __attribute__((unused)),
  1710.                              const char *beg, const char *end,
  1711.                              uint pos, int *error)
  1712. {
  1713.   const uchar *b= (uchar *) beg;
  1714.   
  1715.   for ( *error= 0 ; pos && b < (uchar*) end; pos--, b++)
  1716.   {
  1717.     char *chbeg;
  1718.     uint ch= *b;
  1719.     
  1720.     if (ch <= 0x7F)                 /* one byte */
  1721.       continue;
  1722.     
  1723.     chbeg= (char *) b++;
  1724.     if (b >= (uchar *) end)         /* need more bytes */
  1725.     {
  1726.       *error= 1;
  1727.       return (uint) (chbeg - beg);  /* unexpected EOL  */ 
  1728.     }
  1729.     
  1730.     if (ch == 0x8E)                 /* [x8E][xA0-xDF] */
  1731.     {
  1732.       if (*b >= 0xA0 && *b <= 0xDF)
  1733.         continue;
  1734.       *error= 1;
  1735.       return (uint) (chbeg - beg);  /* invalid sequence */
  1736.     }
  1737.     
  1738.     if (ch == 0x8F)                 /* [x8F][xA1-xFE][xA1-xFE] */
  1739.     {
  1740.       ch= *b++;
  1741.       if (b >= (uchar*) end)
  1742.       {
  1743.         *error= 1;
  1744.         return (uint) (chbeg - beg);/* unexpected EOL */
  1745.       }
  1746.     }
  1747.     
  1748.     if (ch >= 0xA1 && ch <= 0xFE &&
  1749.         *b >= 0xA1 && *b <= 0xFE)   /* [xA1-xFE][xA1-xFE] */
  1750.       continue;
  1751.     *error= 1;
  1752.     return (uint) (chbeg - beg);    /* invalid sequence */
  1753.   }
  1754.   return (uint) (b - (uchar *) beg);
  1755. }
  1756. static
  1757. uint my_numcells_eucjp(CHARSET_INFO *cs __attribute__((unused)),
  1758.                        const char *str, const char *strend)
  1759. {
  1760.   uint clen= 0;
  1761.   const unsigned char *b= (const unsigned char *) str;
  1762.   const unsigned char *e= (const unsigned char *) strend;
  1763.   
  1764.   for (clen= 0; b < e; )
  1765.   {
  1766.     if (*b == 0x8E)
  1767.     {
  1768.       clen++;
  1769.       b+= 2;
  1770.     }
  1771.     else if (*b == 0x8F)
  1772.     {
  1773.       clen+= 2;
  1774.       b+= 3;
  1775.     }
  1776.     else if (*b & 0x80)
  1777.     {
  1778.       clen+= 2;
  1779.       b+= 2;
  1780.     }
  1781.     else
  1782.     {
  1783.       clen++;
  1784.       b++;
  1785.     }
  1786.   }
  1787.   return clen;
  1788. }
  1789. static int
  1790. my_mb_wc_euc_jp(CHARSET_INFO *cs,my_wc_t *pwc, const uchar *s, const uchar *e)
  1791. {
  1792.   int c1,c2,c3;
  1793.   
  1794.   if (s >= e)
  1795.     return MY_CS_TOOFEW(0);
  1796.   
  1797.   c1=s[0];
  1798.   
  1799.   /* Ascii code set */
  1800.   if (c1<=0x7F)
  1801.   {
  1802.     *pwc=c1;
  1803.     return 1;
  1804.   }
  1805.   
  1806.   if (s+2>e)
  1807.     return MY_CS_TOOFEW(0);
  1808.     
  1809.   c2=s[1];
  1810.   
  1811.   
  1812.   /* JIS X 0208 code set */
  1813.   if (c1>=0xA1 && c1<=0xFE)
  1814.   {
  1815.     if (c2 < 0xA1 || c2 >0xFE)
  1816.       return MY_CS_ILSEQ;
  1817.     
  1818.     if (c1 < 0xF5)
  1819.     {
  1820.       pwc[0]=my_jisx0208_uni_onechar( ((c1-0x80) << 8) + (c2-0x80));
  1821.       if (!pwc[0])
  1822.         return MY_CS_ILSEQ;
  1823.     }
  1824.     else
  1825.     {
  1826.       /* User defined range */
  1827.       pwc[0]=0xE000 + 94*(c1-0xF5) +(c2-0xA1);
  1828.     }
  1829.     return 2;
  1830.   }
  1831.   
  1832.   /* JIS X 0201 code set (Half Width Tatakana) */
  1833.   if (c1==0x8E)
  1834.   {
  1835.     int ret;
  1836.     
  1837.     if (c2<0xA1 || c2>0xDF)
  1838.       return MY_CS_ILSEQ;
  1839.     
  1840.     ret = my_mb_wc_jisx0201(cs,pwc,s+1,e);
  1841.     if (ret!=1)
  1842.       return ret;
  1843.     return 2;
  1844.   }
  1845.   
  1846.   /* JIS X 0212 code set */
  1847.   if (c1==0x8F)
  1848.   {
  1849.     if (c2<0xA1 || c2>=0xFF)
  1850.       return MY_CS_ILSEQ;
  1851.     
  1852.     if (s+3>e)
  1853.       return MY_CS_TOOFEW(0);
  1854.     
  1855.     c3=s[2];
  1856.     if (c3 < 0xA1 || c3>=0xFF)
  1857.         return MY_CS_ILSEQ;
  1858.       
  1859.     if (c2<0xF5)
  1860.     {
  1861.       pwc[0]=my_jisx0212_uni_onechar((c2-0x80)*256 + (c3-0x80));
  1862.       if (!pwc)
  1863.         return MY_CS_ILSEQ;
  1864.     }
  1865.     else
  1866.     {
  1867.       /* User defined range */
  1868.       pwc[0]= 0xE3AC + 94*(c2-0xF5) + (c3-0xA1);
  1869.     }
  1870.     return 3;
  1871.   }
  1872.   
  1873.   return MY_CS_ILSEQ;
  1874. }
  1875. static int
  1876. my_wc_mb_euc_jp(CHARSET_INFO *c,my_wc_t wc, unsigned char *s, unsigned char *e)
  1877. {
  1878.   unsigned char c1;
  1879.   int jp;
  1880.   
  1881.   if (s >= e)
  1882.     return MY_CS_TOOSMALL;
  1883.   
  1884.   if ((int) wc < 0x80)
  1885.   { 
  1886.     *s= (uchar) wc;
  1887.     return 1;
  1888.   }
  1889.   
  1890.   if ((jp=my_uni_jisx0208_onechar(wc)))
  1891.   {
  1892.     if (s+2>e)
  1893.       return MY_CS_TOOSMALL;
  1894.       
  1895.     jp+=0x8080;
  1896.     s[0]=jp>>8;
  1897.     s[1]=jp&0xFF;
  1898.     return 2;
  1899.   }
  1900.   
  1901.   /* Half width Katakana */
  1902.   if (my_wc_mb_jisx0201(c,wc,s,e) == 1)
  1903.   {
  1904.     if (s+2>e)
  1905.       return MY_CS_TOOSMALL;
  1906.     s[1]= s[0];
  1907.     s[0]= 0x8E;
  1908.     return 2;
  1909.   }
  1910.   
  1911.   
  1912.   if ((jp=my_uni_jisx0212_onechar(wc)))
  1913.   {
  1914.     if (s+3>e)
  1915.       return MY_CS_TOOSMALL;
  1916.       
  1917.     jp+=0x8080;
  1918.     s[0]=0x8F;
  1919.     s[1]=jp>>8;
  1920.     s[2]=jp&0xFF;
  1921.     return 3;
  1922.   }
  1923.   
  1924.   
  1925.   /* User defined range */
  1926.   if (wc>=0xE000 && wc<0xE3AC)
  1927.   { 
  1928.     if (s+2>e)
  1929.       return MY_CS_TOOSMALL;
  1930.       
  1931.     c1=((unsigned)(wc-0xE000)/94)+0xF5;
  1932.     s[0]=c1;
  1933.     c1=((unsigned)(wc-0xE000)%94)+0xa1;
  1934.     s[1]=c1;
  1935.     return 2;
  1936.   }
  1937.   
  1938.   /* User defined range */
  1939.   if (wc>=0xE3AC && wc<0xE758)
  1940.   {
  1941.     if (s+3>e)
  1942.       return MY_CS_TOOSMALL;
  1943.       
  1944.     s[0]=0x8F;
  1945.     c1=((unsigned)(wc-0xE3AC)/94)+0xF5;
  1946.     s[1]=c1;
  1947.     c1=((unsigned)(wc-0xE3AC)%94)+0xa1;
  1948.     s[2]=c1;
  1949.     return 3;
  1950.   }
  1951.   return MY_CS_ILUNI;
  1952. }
  1953. static MY_COLLATION_HANDLER my_collation_ci_handler =
  1954. {
  1955.     NULL, /* init */
  1956.     my_strnncoll_simple,/* strnncoll    */
  1957.     my_strnncollsp_simple,
  1958.     my_strnxfrm_simple, /* strnxfrm     */
  1959.     my_like_range_simple,/* like_range   */
  1960.     my_wildcmp_mb, /* wildcmp      */
  1961.     my_strcasecmp_mb,
  1962.     my_instr_mb,
  1963.     my_hash_sort_simple,
  1964. };
  1965. static MY_CHARSET_HANDLER my_charset_handler=
  1966. {
  1967.     NULL, /* init */
  1968.     ismbchar_ujis,
  1969.     mbcharlen_ujis,
  1970.     my_numchars_mb,
  1971.     my_charpos_mb,
  1972.     my_well_formed_len_ujis,
  1973.     my_lengthsp_8bit,
  1974.     my_numcells_eucjp,
  1975.     my_mb_wc_euc_jp, /* mb_wc       */
  1976.     my_wc_mb_euc_jp, /* wc_mb       */
  1977.     my_caseup_str_mb,
  1978.     my_casedn_str_mb,
  1979.     my_caseup_mb,
  1980.     my_casedn_mb,
  1981.     my_snprintf_8bit,
  1982.     my_long10_to_str_8bit,
  1983.     my_longlong10_to_str_8bit,
  1984.     my_fill_8bit,
  1985.     my_strntol_8bit,
  1986.     my_strntoul_8bit,
  1987.     my_strntoll_8bit,
  1988.     my_strntoull_8bit,
  1989.     my_strntod_8bit,
  1990.     my_strtoll10_8bit,
  1991.     my_scan_8bit
  1992. };
  1993. CHARSET_INFO my_charset_ujis_japanese_ci=
  1994. {
  1995.     12,0,0, /* number       */
  1996.     MY_CS_COMPILED|MY_CS_PRIMARY, /* state        */
  1997.     "ujis", /* cs name    */
  1998.     "ujis_japanese_ci", /* name         */
  1999.     "", /* comment      */
  2000.     NULL, /* tailoring    */
  2001.     ctype_ujis,
  2002.     to_lower_ujis,
  2003.     to_upper_ujis,
  2004.     sort_order_ujis,
  2005.     NULL, /* sort_order_big*/
  2006.     NULL, /* contractions */
  2007.     NULL, /* tab_to_uni   */
  2008.     NULL, /* tab_from_uni */
  2009.     NULL, /* state_map    */
  2010.     NULL, /* ident_map    */
  2011.     1, /* strxfrm_multiply */
  2012.     1, /* mbminlen     */
  2013.     3, /* mbmaxlen     */
  2014.     0, /* min_sort_char */
  2015.     255, /* max_sort_char */
  2016.     0,                  /* escape_with_backslash_is_dangerous */
  2017.     &my_charset_handler,
  2018.     &my_collation_ci_handler
  2019. };
  2020. CHARSET_INFO my_charset_ujis_bin=
  2021. {
  2022.     91,0,0, /* number       */
  2023.     MY_CS_COMPILED|MY_CS_BINSORT, /* state        */
  2024.     "ujis", /* cs name    */
  2025.     "ujis_bin", /* name         */
  2026.     "", /* comment      */
  2027.     NULL, /* tailoring    */
  2028.     ctype_ujis,
  2029.     to_lower_ujis,
  2030.     to_upper_ujis,
  2031.     NULL, /* sort_order   */
  2032.     NULL, /* contractions */
  2033.     NULL, /* sort_order_big*/
  2034.     NULL, /* tab_to_uni   */
  2035.     NULL, /* tab_from_uni */
  2036.     NULL, /* state_map    */
  2037.     NULL, /* ident_map    */
  2038.     1, /* strxfrm_multiply */
  2039.     1, /* mbminlen     */
  2040.     3, /* mbmaxlen     */
  2041.     0, /* min_sort_char */
  2042.     255, /* max_sort_char */
  2043.     0,                  /* escape_with_backslash_is_dangerous */
  2044.     &my_charset_handler,
  2045.     &my_collation_mb_bin_handler
  2046. };
  2047. #endif