dat_iswctype.c 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667
  1. /*
  2. * TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
  3. *
  4. * FILE: dat_iswctype.c
  5. *
  6. * ISWCTYPE: int iswctype( wint_t wc, wctype_t charclass );
  7. */
  8. #include <errno.h>
  9. #include <stdlib.h>
  10. #include <wctype.h>
  11. #include "tst_types.h"
  12. #include "tgn_locdef.h"
  13. /*
  14. * NOTE:
  15. * Set ret_flg = 1, when a return value is expected to be 0 (FALSE).
  16. * Set ret_flg = 0, when a return value is expected to be non-zero (TRUE).
  17. *
  18. * Since the functions return *non*-zero value for TRUE, can't
  19. * compare an actual return value with an expected return value.
  20. * Set the ret_flg=0 for TRUE cases and the tst_isw*() will check
  21. * the non-zero value.
  22. *
  23. * { { WEOF }, { 0,1,0 } },
  24. * | |
  25. * | ret_val: an expected return value
  26. * ret_flg: if 1, compare an actual return value with the
  27. * ret_val; if 0, the test program checks
  28. * the actual return value.
  29. */
  30. TST_ISWCTYPE tst_iswctype_loc [] = {
  31. {
  32. { Tiswctype, TST_LOC_de },
  33. {
  34. { { 0x009F, "alnum" }, { 0,1,0 } }, /* CTRL */
  35. { { 0x00A0, "alnum" }, { 0,1,0 } }, /* NB SPACE */
  36. { { 0x00A1, "alnum" }, { 0,1,0 } }, /* UD ! */
  37. { { 0x00B1, "alnum" }, { 0,1,0 } }, /* +- sign */
  38. { { 0x00B3, "alnum" }, { 0,1,0 } }, /* SUP 3 */
  39. { { 0x00B4, "alnum" }, { 0,1,0 } }, /* ACUTE */
  40. { { 0x00BB, "alnum" }, { 0,1,0 } }, /* >> */
  41. { { 0x00BE, "alnum" }, { 0,1,0 } }, /* 3/4 */
  42. { { 0x00BF, "alnum" }, { 0,1,0 } }, /* UD ? */
  43. { { 0x00C0, "alnum" }, { 0,0,0 } }, /* A Grave */
  44. { { 0x00D6, "alnum" }, { 0,0,0 } }, /* O dia */
  45. { { 0x00D7, "alnum" }, { 0,1,0 } }, /* multipl. */
  46. { { 0x00D8, "alnum" }, { 0,0,0 } }, /* O stroke */
  47. { { 0x00DF, "alnum" }, { 0,0,0 } }, /* small Sh */
  48. { { 0x00E0, "alnum" }, { 0,0,0 } }, /* a grave */
  49. { { 0x00F6, "alnum" }, { 0,0,0 } }, /* o dia */
  50. { { 0x00F7, "alnum" }, { 0,1,0 } }, /* division */
  51. { { 0x00F8, "alnum" }, { 0,0,0 } }, /* o stroke */
  52. { { 0x00FF, "alnum" }, { 0,0,0 } }, /* y dia */
  53. { { 0x0080, "alpha" }, { 0,1,0 } }, /* CTRL */
  54. { { 0x00A0, "alpha" }, { 0,1,0 } }, /* NB SPACE */
  55. { { 0x00A1, "alpha" }, { 0,1,0 } }, /* UD ! */
  56. { { 0x00B1, "alpha" }, { 0,1,0 } }, /* +- sign */
  57. { { 0x00B4, "alpha" }, { 0,1,0 } }, /* ACUTE */
  58. { { 0x00B8, "alpha" }, { 0,1,0 } }, /* CEDILLA */
  59. { { 0x00B9, "alpha" }, { 0,1,0 } }, /* SUP 1 */
  60. { { 0x00BB, "alpha" }, { 0,1,0 } }, /* >> */
  61. { { 0x00BE, "alpha" }, { 0,1,0 } }, /* 3/4 */
  62. { { 0x00BF, "alpha" }, { 0,1,0 } }, /* UD ? */
  63. { { 0x00C0, "alpha" }, { 0,0,0 } }, /* A Grave */
  64. { { 0x00D6, "alpha" }, { 0,0,0 } }, /* O dia */
  65. { { 0x00D7, "alpha" }, { 0,1,0 } }, /* multipl. */
  66. { { 0x00D8, "alpha" }, { 0,0,0 } }, /* O stroke */
  67. { { 0x00DF, "alpha" }, { 0,0,0 } }, /* small Sh */
  68. { { 0x00E0, "alpha" }, { 0,0,0 } }, /* a grave */
  69. { { 0x00F6, "alpha" }, { 0,0,0 } }, /* o dia */
  70. { { 0x00F7, "alpha" }, { 0,1,0 } }, /* division */
  71. { { 0x00F8, "alpha" }, { 0,0,0 } }, /* o stroke */
  72. { { 0x00FF, "alpha" }, { 0,0,0 } }, /* y dia */
  73. { { 0x0080, "cntrl" }, { 0,0,0 } }, /* CTRL */
  74. { { 0x009F, "cntrl" }, { 0,0,0 } }, /* CTRL */
  75. { { 0x00A0, "cntrl" }, { 0,1,0 } }, /* NB SPACE */
  76. { { 0x00F6, "cntrl" }, { 0,1,0 } }, /* o dia */
  77. { { 0x00FF, "cntrl" }, { 0,1,0 } }, /* y dia */
  78. { { 0x00B9, "digit" }, { 0,1,0 } }, /* SUP 1 */
  79. { { 0x00BE, "digit" }, { 0,1,0 } }, /* 3/4 */
  80. { { 0x009F, "graph" }, { 0,1,0 } }, /* CTRL */
  81. #ifdef SHOJI_IS_RIGHT
  82. { { 0x00A0, "graph" }, { 0,1,0 } }, /* NB SPACE */
  83. #else
  84. { { 0x00A0, "graph" }, { 0,0,0 } }, /* NB SPACE */
  85. #endif
  86. { { 0x00A1, "graph" }, { 0,0,0 } }, /* UD ! */
  87. { { 0x00B1, "graph" }, { 0,0,0 } }, /* +- sign */
  88. { { 0x00B3, "graph" }, { 0,0,0 } }, /* SUP 3 */
  89. { { 0x00B4, "graph" }, { 0,0,0 } }, /* ACUTE */
  90. { { 0x00BB, "graph" }, { 0,0,0 } }, /* >> */
  91. { { 0x00BE, "graph" }, { 0,0,0 } }, /* 3/4 */
  92. { { 0x00C0, "graph" }, { 0,0,0 } }, /* A Grave */
  93. { { 0x00D6, "graph" }, { 0,0,0 } }, /* O dia */
  94. { { 0x00D7, "graph" }, { 0,0,0 } }, /* multipl. */
  95. { { 0x00D8, "graph" }, { 0,0,0 } }, /* O stroke */
  96. { { 0x00DF, "graph" }, { 0,0,0 } }, /* small Sh */
  97. { { 0x00F7, "graph" }, { 0,0,0 } }, /* division */
  98. { { 0x00F8, "graph" }, { 0,0,0 } }, /* o stroke */
  99. { { 0x00FF, "graph" }, { 0,0,0 } }, /* y dia */
  100. { { 0x009F, "print" }, { 0,1,0 } }, /* CTRL */
  101. #ifdef SHOJI_IS_RIGHT
  102. { { 0x00A0, "print" }, { 0,1,0 } }, /* NB SPACE */
  103. #else
  104. { { 0x00A0, "print" }, { 0,0,0 } }, /* NB SPACE */
  105. #endif
  106. { { 0x00A1, "print" }, { 0,0,0 } }, /* UD ! */
  107. { { 0x00B1, "print" }, { 0,0,0 } }, /* +- sign */
  108. { { 0x00B4, "print" }, { 0,0,0 } }, /* ACUTE */
  109. { { 0x00B8, "print" }, { 0,0,0 } }, /* CEDILLA */
  110. { { 0x00B9, "print" }, { 0,0,0 } }, /* SUP 1 */
  111. { { 0x00BB, "print" }, { 0,0,0 } }, /* >> */
  112. { { 0x00BE, "print" }, { 0,0,0 } }, /* 3/4 */
  113. { { 0x00C0, "print" }, { 0,0,0 } }, /* A Grave */
  114. { { 0x00DF, "print" }, { 0,0,0 } }, /* small Sh */
  115. { { 0x00F6, "print" }, { 0,0,0 } }, /* o dia */
  116. { { 0x00F7, "print" }, { 0,0,0 } }, /* division */
  117. { { 0x00F8, "print" }, { 0,0,0 } }, /* o stroke */
  118. { { 0x00FF, "print" }, { 0,0,0 } }, /* y dia */
  119. { { 0x009F, "punct" }, { 0,1,0 } }, /* CTRL */
  120. #ifdef SHOJI_IS_RIGHT
  121. { { 0x00A0, "punct" }, { 0,1,0 } }, /* NB SPACE */
  122. #else
  123. { { 0x00A0, "punct" }, { 0,0,0 } }, /* NB SPACE */
  124. #endif
  125. { { 0x00A1, "punct" }, { 0,0,0 } }, /* UD ! */
  126. { { 0x00B0, "punct" }, { 0,0,0 } }, /* Degree */
  127. { { 0x00B1, "punct" }, { 0,0,0 } }, /* +- sign */
  128. { { 0x00B2, "punct" }, { 0,0,0 } }, /* SUP 2 */
  129. { { 0x00B3, "punct" }, { 0,0,0 } }, /* SUP 3 */
  130. { { 0x00B4, "punct" }, { 0,0,0 } }, /* ACUTE */
  131. { { 0x00B8, "punct" }, { 0,0,0 } }, /* CEDILLA */
  132. { { 0x00B9, "punct" }, { 0,0,0 } }, /* SUP 1 */
  133. { { 0x00BB, "punct" }, { 0,0,0 } }, /* >> */
  134. { { 0x00BC, "punct" }, { 0,0,0 } }, /* 1/4 */
  135. { { 0x00BD, "punct" }, { 0,0,0 } }, /* 1/2 */
  136. { { 0x00BE, "punct" }, { 0,0,0 } }, /* 3/4 */
  137. { { 0x00BF, "punct" }, { 0,0,0 } }, /* UD ? */
  138. { { 0x00C0, "punct" }, { 0,1,0 } }, /* A Grave */
  139. { { 0x00D7, "punct" }, { 0,0,0 } }, /* multipl. */
  140. { { 0x00DF, "punct" }, { 0,1,0 } }, /* small Sh */
  141. { { 0x00F6, "punct" }, { 0,1,0 } }, /* o dia */
  142. { { 0x00F7, "punct" }, { 0,0,0 } }, /* division */
  143. { { 0x00FF, "punct" }, { 0,1,0 } }, /* y dia */
  144. { { 0x009F, "space" }, { 0,1,0 } }, /* CTRL */
  145. { { 0x00A0, "space" }, { 0,1,0 } }, /* NB SPACE */
  146. { { 0x00A1, "space" }, { 0,1,0 } }, /* UD ! */
  147. { { 0x00B1, "space" }, { 0,1,0 } }, /* +- sign */
  148. { { 0x00F8, "space" }, { 0,1,0 } }, /* o stroke */
  149. { { 0x00B3, "lower" }, { 0,1,0 } }, /* SUP 3 */
  150. { { 0x00B8, "lower" }, { 0,1,0 } }, /* CEDILLA */
  151. { { 0x00BE, "lower" }, { 0,1,0 } }, /* 3/4 */
  152. { { 0x00C0, "lower" }, { 0,1,0 } }, /* A Grave */
  153. { { 0x00D6, "lower" }, { 0,1,0 } }, /* O dia */
  154. { { 0x00D8, "lower" }, { 0,1,0 } }, /* O stroke */
  155. { { 0x00DF, "lower" }, { 0,0,0 } }, /* small Sh */
  156. { { 0x00E0, "lower" }, { 0,0,0 } }, /* a grave */
  157. { { 0x00F6, "lower" }, { 0,0,0 } }, /* o dia */
  158. { { 0x00F7, "lower" }, { 0,1,0 } }, /* division */
  159. { { 0x00F8, "lower" }, { 0,0,0 } }, /* o stroke */
  160. { { 0x00FF, "lower" }, { 0,0,0 } }, /* y dia */
  161. { { 0x00B4, "upper" }, { 0,1,0 } }, /* ACUTE */
  162. { { 0x00B8, "upper" }, { 0,1,0 } }, /* CEDILLA */
  163. { { 0x00B9, "upper" }, { 0,1,0 } }, /* SUP 1 */
  164. { { 0x00BE, "upper" }, { 0,1,0 } }, /* 3/4 */
  165. { { 0x00BF, "upper" }, { 0,1,0 } }, /* UD ? */
  166. { { 0x00C0, "upper" }, { 0,0,0 } }, /* A Grave */
  167. { { 0x00D6, "upper" }, { 0,0,0 } }, /* O dia */
  168. { { 0x00D7, "upper" }, { 0,1,0 } }, /* multipl. */
  169. { { 0x00D8, "upper" }, { 0,0,0 } }, /* O stroke */
  170. { { 0x00DF, "upper" }, { 0,1,0 } }, /* small Sh */
  171. { { 0x00FF, "upper" }, { 0,1,0 } }, /* y dia */
  172. { { 0x00B9, "xdigit" }, { 0,1,0 } }, /* SUP 1 */
  173. { { 0x00BC, "xdigit" }, { 0,1,0 } }, /* 1/4 */
  174. { .is_last = 1 }
  175. }
  176. },
  177. {
  178. { Tiswctype, TST_LOC_enUS },
  179. {
  180. { { WEOF, "alnum" }, { 0,1,0 } },
  181. { { 0x0000, "alnum" }, { 0,1,0 } },
  182. { { 0x001F, "alnum" }, { 0,1,0 } },
  183. { { 0x0020, "alnum" }, { 0,1,0 } },
  184. { { 0x0021, "alnum" }, { 0,1,0 } },
  185. { { 0x002F, "alnum" }, { 0,1,0 } },
  186. { { 0x0030, "alnum" }, { 0,0,0 } },
  187. { { 0x0039, "alnum" }, { 0,0,0 } },
  188. { { 0x003A, "alnum" }, { 0,1,0 } },
  189. { { 0x0040, "alnum" }, { 0,1,0 } },
  190. { { 0x0041, "alnum" }, { 0,0,0 } },
  191. { { 0x005A, "alnum" }, { 0,0,0 } },
  192. { { 0x005B, "alnum" }, { 0,1,0 } },
  193. { { 0x0060, "alnum" }, { 0,1,0 } },
  194. { { 0x0061, "alnum" }, { 0,0,0 } },
  195. { { 0x007A, "alnum" }, { 0,0,0 } },
  196. { { 0x007B, "alnum" }, { 0,1,0 } },
  197. { { 0x007E, "alnum" }, { 0,1,0 } },
  198. { { 0x007F, "alnum" }, { 0,1,0 } },
  199. { { 0x0080, "alnum" }, { 0,1,0 } },
  200. { { 0x0000, "alpha" }, { 0,1,0 } },
  201. { { 0x001F, "alpha" }, { 0,1,0 } },
  202. { { 0x0020, "alpha" }, { 0,1,0 } },
  203. { { 0x0021, "alpha" }, { 0,1,0 } },
  204. { { 0x002F, "alpha" }, { 0,1,0 } },
  205. { { 0x0030, "alpha" }, { 0,1,0 } },
  206. { { 0x0039, "alpha" }, { 0,1,0 } },
  207. { { 0x003A, "alpha" }, { 0,1,0 } },
  208. { { 0x0040, "alpha" }, { 0,1,0 } },
  209. { { 0x0041, "alpha" }, { 0,0,0 } },
  210. { { 0x005A, "alpha" }, { 0,0,0 } },
  211. { { 0x005B, "alpha" }, { 0,1,0 } },
  212. { { 0x0060, "alpha" }, { 0,1,0 } },
  213. { { 0x0061, "alpha" }, { 0,0,0 } },
  214. { { 0x007A, "alpha" }, { 0,0,0 } },
  215. { { 0x007B, "alpha" }, { 0,1,0 } },
  216. { { 0x007E, "alpha" }, { 0,1,0 } },
  217. { { 0x007F, "alpha" }, { 0,1,0 } },
  218. { { 0x0080, "alpha" }, { 0,1,0 } },
  219. { { 0x0009, "blank" }, { 0,0,0 } },
  220. { { 0x000B, "blank" }, { 0,1,0 } },
  221. { { 0x0020, "blank" }, { 0,0,0 } },
  222. { { 0x0000, "cntrl" }, { 0,0,0 } },
  223. { { 0x001F, "cntrl" }, { 0,0,0 } },
  224. { { 0x0020, "cntrl" }, { 0,1,0 } },
  225. { { 0x0021, "cntrl" }, { 0,1,0 } },
  226. { { 0x002F, "cntrl" }, { 0,1,0 } },
  227. { { 0x0030, "cntrl" }, { 0,1,0 } },
  228. { { 0x0039, "cntrl" }, { 0,1,0 } },
  229. { { 0x003A, "cntrl" }, { 0,1,0 } },
  230. { { 0x0040, "cntrl" }, { 0,1,0 } },
  231. { { 0x0041, "cntrl" }, { 0,1,0 } },
  232. { { 0x005A, "cntrl" }, { 0,1,0 } },
  233. { { 0x005B, "cntrl" }, { 0,1,0 } },
  234. { { 0x0060, "cntrl" }, { 0,1,0 } },
  235. { { 0x0061, "cntrl" }, { 0,1,0 } },
  236. { { 0x007A, "cntrl" }, { 0,1,0 } },
  237. { { 0x007B, "cntrl" }, { 0,1,0 } },
  238. { { 0x007E, "cntrl" }, { 0,1,0 } },
  239. { { 0x007F, "cntrl" }, { 0,0,0 } },
  240. { { 0x0080, "cntrl" }, { 0,0,0 } },
  241. { { 0x0000, "digit" }, { 0,1,0 } },
  242. { { 0x001F, "digit" }, { 0,1,0 } },
  243. { { 0x0020, "digit" }, { 0,1,0 } },
  244. { { 0x0021, "digit" }, { 0,1,0 } },
  245. { { 0x002F, "digit" }, { 0,1,0 } },
  246. { { 0x0030, "digit" }, { 0,0,0 } },
  247. { { 0x0039, "digit" }, { 0,0,0 } },
  248. { { 0x003A, "digit" }, { 0,1,0 } },
  249. { { 0x0040, "digit" }, { 0,1,0 } },
  250. { { 0x0041, "digit" }, { 0,1,0 } },
  251. { { 0x005A, "digit" }, { 0,1,0 } },
  252. { { 0x005B, "digit" }, { 0,1,0 } },
  253. { { 0x0060, "digit" }, { 0,1,0 } },
  254. { { 0x0061, "digit" }, { 0,1,0 } },
  255. { { 0x007A, "digit" }, { 0,1,0 } },
  256. { { 0x007B, "digit" }, { 0,1,0 } },
  257. { { 0x007E, "digit" }, { 0,1,0 } },
  258. { { 0x007F, "digit" }, { 0,1,0 } },
  259. { { 0x0080, "digit" }, { 0,1,0 } },
  260. { { 0x0000, "graph" }, { 0,1,0 } },
  261. { { 0x001F, "graph" }, { 0,1,0 } },
  262. { { 0x0020, "graph" }, { 0,1,0 } },
  263. { { 0x0021, "graph" }, { 0,0,0 } },
  264. { { 0x002F, "graph" }, { 0,0,0 } },
  265. { { 0x0030, "graph" }, { 0,0,0 } },
  266. { { 0x0039, "graph" }, { 0,0,0 } },
  267. { { 0x003A, "graph" }, { 0,0,0 } },
  268. { { 0x0040, "graph" }, { 0,0,0 } },
  269. { { 0x0041, "graph" }, { 0,0,0 } },
  270. { { 0x005A, "graph" }, { 0,0,0 } },
  271. { { 0x005B, "graph" }, { 0,0,0 } },
  272. { { 0x0060, "graph" }, { 0,0,0 } },
  273. { { 0x0061, "graph" }, { 0,0,0 } },
  274. { { 0x007A, "graph" }, { 0,0,0 } },
  275. { { 0x007B, "graph" }, { 0,0,0 } },
  276. { { 0x007E, "graph" }, { 0,0,0 } },
  277. { { 0x007F, "graph" }, { 0,1,0 } },
  278. { { 0x0080, "graph" }, { 0,1,0 } },
  279. { { 0x0000, "print" }, { 0,1,0 } },
  280. { { 0x001F, "print" }, { 0,1,0 } },
  281. { { 0x0020, "print" }, { 0,0,0 } },
  282. { { 0x0021, "print" }, { 0,0,0 } },
  283. { { 0x002F, "print" }, { 0,0,0 } },
  284. { { 0x0030, "print" }, { 0,0,0 } },
  285. { { 0x0039, "print" }, { 0,0,0 } },
  286. { { 0x003A, "print" }, { 0,0,0 } },
  287. { { 0x0040, "print" }, { 0,0,0 } },
  288. { { 0x0041, "print" }, { 0,0,0 } },
  289. { { 0x005A, "print" }, { 0,0,0 } },
  290. { { 0x005B, "print" }, { 0,0,0 } },
  291. { { 0x0060, "print" }, { 0,0,0 } },
  292. { { 0x0061, "print" }, { 0,0,0 } },
  293. { { 0x007A, "print" }, { 0,0,0 } },
  294. { { 0x007B, "print" }, { 0,0,0 } },
  295. { { 0x007E, "print" }, { 0,0,0 } },
  296. { { 0x007F, "print" }, { 0,1,0 } },
  297. { { 0x0080, "print" }, { 0,1,0 } },
  298. { { 0x0000, "punct" }, { 0,1,0 } },
  299. { { 0x001F, "punct" }, { 0,1,0 } },
  300. { { 0x0020, "punct" }, { 0,1,0 } },
  301. { { 0x0021, "punct" }, { 0,0,0 } },
  302. { { 0x002F, "punct" }, { 0,0,0 } },
  303. { { 0x0030, "punct" }, { 0,1,0 } },
  304. { { 0x0039, "punct" }, { 0,1,0 } },
  305. { { 0x003A, "punct" }, { 0,0,0 } },
  306. { { 0x0040, "punct" }, { 0,0,0 } },
  307. { { 0x0041, "punct" }, { 0,1,0 } },
  308. { { 0x005A, "punct" }, { 0,1,0 } },
  309. { { 0x005B, "punct" }, { 0,0,0 } },
  310. { { 0x0060, "punct" }, { 0,0,0 } },
  311. { { 0x0061, "punct" }, { 0,1,0 } },
  312. { { 0x007A, "punct" }, { 0,1,0 } },
  313. { { 0x007B, "punct" }, { 0,0,0 } },
  314. { { 0x007E, "punct" }, { 0,0,0 } },
  315. { { 0x007F, "punct" }, { 0,1,0 } },
  316. { { 0x0080, "punct" }, { 0,1,0 } },
  317. { { 0x0000, "space" }, { 0,1,0 } },
  318. { { 0x001F, "space" }, { 0,1,0 } },
  319. { { 0x0020, "space" }, { 0,0,0 } },
  320. { { 0x0021, "space" }, { 0,1,0 } },
  321. { { 0x002F, "space" }, { 0,1,0 } },
  322. { { 0x007E, "space" }, { 0,1,0 } },
  323. { { 0x007F, "space" }, { 0,1,0 } },
  324. { { 0x0080, "space" }, { 0,1,0 } },
  325. { { 0x0000, "lower" }, { 0,1,0 } },
  326. { { 0x001F, "lower" }, { 0,1,0 } },
  327. { { 0x0020, "lower" }, { 0,1,0 } },
  328. { { 0x0021, "lower" }, { 0,1,0 } },
  329. { { 0x002F, "lower" }, { 0,1,0 } },
  330. { { 0x0030, "lower" }, { 0,1,0 } },
  331. { { 0x0039, "lower" }, { 0,1,0 } },
  332. { { 0x003A, "lower" }, { 0,1,0 } },
  333. { { 0x0040, "lower" }, { 0,1,0 } },
  334. { { 0x0041, "lower" }, { 0,1,0 } },
  335. { { 0x005A, "lower" }, { 0,1,0 } },
  336. { { 0x005B, "lower" }, { 0,1,0 } },
  337. { { 0x0060, "lower" }, { 0,1,0 } },
  338. { { 0x0061, "lower" }, { 0,0,0 } },
  339. { { 0x007A, "lower" }, { 0,0,0 } },
  340. { { 0x007B, "lower" }, { 0,1,0 } },
  341. { { 0x007E, "lower" }, { 0,1,0 } },
  342. { { 0x007F, "lower" }, { 0,1,0 } },
  343. { { 0x0080, "lower" }, { 0,1,0 } },
  344. { { 0x0000, "upper" }, { 0,1,0 } },
  345. { { 0x001F, "upper" }, { 0,1,0 } },
  346. { { 0x0020, "upper" }, { 0,1,0 } },
  347. { { 0x0021, "upper" }, { 0,1,0 } },
  348. { { 0x002F, "upper" }, { 0,1,0 } },
  349. { { 0x0030, "upper" }, { 0,1,0 } },
  350. { { 0x0039, "upper" }, { 0,1,0 } },
  351. { { 0x003A, "upper" }, { 0,1,0 } },
  352. { { 0x0040, "upper" }, { 0,1,0 } },
  353. { { 0x0041, "upper" }, { 0,0,0 } },
  354. { { 0x005A, "upper" }, { 0,0,0 } },
  355. { { 0x005B, "upper" }, { 0,1,0 } },
  356. { { 0x0060, "upper" }, { 0,1,0 } },
  357. { { 0x0061, "upper" }, { 0,1,0 } },
  358. { { 0x007A, "upper" }, { 0,1,0 } },
  359. { { 0x007B, "upper" }, { 0,1,0 } },
  360. { { 0x007E, "upper" }, { 0,1,0 } },
  361. { { 0x007F, "upper" }, { 0,1,0 } },
  362. { { 0x0080, "upper" }, { 0,1,0 } },
  363. { { 0x0000, "xdigit" }, { 0,1,0 } },
  364. { { 0x001F, "xdigit" }, { 0,1,0 } },
  365. { { 0x0020, "xdigit" }, { 0,1,0 } },
  366. { { 0x0021, "xdigit" }, { 0,1,0 } },
  367. { { 0x002F, "xdigit" }, { 0,1,0 } },
  368. { { 0x0030, "xdigit" }, { 0,0,0 } },
  369. { { 0x0039, "xdigit" }, { 0,0,0 } },
  370. { { 0x003A, "xdigit" }, { 0,1,0 } },
  371. { { 0x0040, "xdigit" }, { 0,1,0 } },
  372. { { 0x0041, "xdigit" }, { 0,0,0 } },
  373. { { 0x005A, "xdigit" }, { 0,1,0 } },
  374. { { 0x005B, "xdigit" }, { 0,1,0 } },
  375. { { 0x0060, "xdigit" }, { 0,1,0 } },
  376. { { 0x0061, "xdigit" }, { 0,0,0 } },
  377. { { 0x007A, "xdigit" }, { 0,1,0 } },
  378. { { 0x007B, "xdigit" }, { 0,1,0 } },
  379. { { 0x007E, "xdigit" }, { 0,1,0 } },
  380. { { 0x007F, "xdigit" }, { 0,1,0 } },
  381. { { 0x0080, "xdigit" }, { 0,1,0 } },
  382. { { 0x0061, "xxxxxx" }, { 0,1,0 } },
  383. { .is_last = 1 }
  384. }
  385. },
  386. {
  387. #if 0
  388. { Tiswctype, TST_LOC_eucJP },
  389. #else
  390. { Tiswctype, TST_LOC_ja_UTF8 },
  391. #endif
  392. {
  393. #ifdef SHOJI_IS_RIGHT
  394. { { 0x3029, "alnum" }, { 0,1,0 } }, /* Hangzhou NUM9 */
  395. #else
  396. { { 0x3029, "alnum" }, { 0,0,0 } }, /* Hangzhou NUM9 */
  397. #endif
  398. { { 0xFE4F, "alnum" }, { 0,1,0 } }, /* CJK UNI.IDEO. */
  399. { { 0xFF19, "alnum" }, { 0,0,0 } }, /* FULL 9 */
  400. { { 0xFF20, "alnum" }, { 0,1,0 } }, /* FULL @ */
  401. { { 0xFF3A, "alnum" }, { 0,0,0 } }, /* FULL Z */
  402. { { 0xFF40, "alnum" }, { 0,1,0 } }, /* FULL GRAVE ACC. */
  403. { { 0xFF5A, "alnum" }, { 0,0,0 } }, /* FULL z */
  404. #ifdef SHOJI_IS_RIGHT
  405. { { 0xFF71, "alnum" }, { 0,1,0 } }, /* HALF KATA A */
  406. #else
  407. { { 0xFF71, "alnum" }, { 0,0,0 } }, /* HALF KATA A */
  408. #endif
  409. #ifdef SHOJI_IS_RIGHT
  410. { { 0x3029, "alpha" }, { 0,1,0 } }, /* Hangzhou NUM9 */
  411. #else
  412. { { 0x3029, "alpha" }, { 0,0,0 } }, /* Hangzhou NUM9 */
  413. #endif
  414. { { 0xFE4F, "alpha" }, { 0,1,0 } }, /* CJK UNI.IDEO. */
  415. #ifdef SHOJI_IS_RIGHT
  416. { { 0xFF19, "alpha" }, { 0,1,0 } }, /* FULL 9 */
  417. #else
  418. { { 0xFF19, "alpha" }, { 0,0,0 } }, /* FULL 9 */
  419. #endif
  420. { { 0xFF20, "alpha" }, { 0,1,0 } }, /* FULL @ */
  421. { { 0xFF3A, "alpha" }, { 0,0,0 } }, /* FULL Z */
  422. { { 0xFF40, "alpha" }, { 0,1,0 } }, /* FULL GRAVE ACC. */
  423. { { 0xFF5A, "alpha" }, { 0,0,0 } }, /* FULL z */
  424. #ifdef SHOJI_IS_RIGHT
  425. { { 0xFF71, "alpha" }, { 0,1,0 } }, /* HALF KATA A */
  426. #else
  427. { { 0xFF71, "alpha" }, { 0,0,0 } }, /* HALF KATA A */
  428. #endif
  429. { { 0x0080, "cntrl" }, { 0,0,0 } }, /* CNTRL */
  430. { { 0x3000, "cntrl" }, { 0,1,0 } }, /* IDEO. SPACE */
  431. { { 0x3029, "digit" }, { 0,1,0 } }, /* Hangzhou NUM9 */
  432. { { 0x32CB, "digit" }, { 0,1,0 } }, /* IDEO.TEL.SYM.DEC12 */
  433. /* 21: */
  434. { { 0x33FE, "digit" }, { 0,1,0 } }, /* CJK IDEO.TEL.31th */
  435. { { 0xFF19, "digit" }, { 0,1,0 } }, /* FULL 9 */
  436. { { 0x3000, "graph" }, { 0,1,0 } }, /* IDEO. SPACE */
  437. #ifdef SHOJI_IS_RIGHT
  438. { { 0x3020, "graph" }, { 0,1,0 } }, /* POSTAL MARK FACE */
  439. { { 0x3029, "graph" }, { 0,1,0 } }, /* Hangzhou NUM9 */
  440. { { 0x302F, "graph" }, { 0,1,0 } }, /* Diacritics(Hangul) */
  441. { { 0x3037, "graph" }, { 0,1,0 } }, /* Separator Symbol */
  442. { { 0x303F, "graph" }, { 0,1,0 } }, /* IDEO. HALF SPACE */
  443. #else
  444. { { 0x3020, "graph" }, { 0,0,0 } }, /* POSTAL MARK FACE */
  445. { { 0x3029, "graph" }, { 0,0,0 } }, /* Hangzhou NUM9 */
  446. { { 0x302F, "graph" }, { 0,0,0 } }, /* Diacritics(Hangul) */
  447. { { 0x3037, "graph" }, { 0,0,0 } }, /* Separator Symbol */
  448. { { 0x303F, "graph" }, { 0,0,0 } }, /* IDEO. HALF SPACE */
  449. #endif
  450. /* 29: */
  451. { { 0x3041, "graph" }, { 0,0,0 } }, /* HIRAGANA a */
  452. /* Non jis: */
  453. #ifdef SHOJI_IS_RIGHT
  454. { { 0x3094, "graph" }, { 0,1,0 } }, /* HIRAGANA u" */
  455. #else
  456. { { 0x3094, "graph" }, { 0,0,0 } }, /* HIRAGANA u" */
  457. #endif
  458. /* Non jis: */
  459. #ifdef SHOJI_IS_RIGHT
  460. { { 0x3099, "graph" }, { 0,1,0 } }, /* SOUND MARK */
  461. #else
  462. { { 0x3099, "graph" }, { 0,0,0 } }, /* SOUND MARK */
  463. #endif
  464. { { 0x309E, "graph" }, { 0,0,0 } }, /* ITERATION MARK */
  465. /* 33: */
  466. { { 0x30A1, "graph" }, { 0,0,0 } }, /* KATAKANA a */
  467. /* Non jis: */
  468. #ifdef SHOJI_IS_RIGHT
  469. { { 0x30FA, "graph" }, { 0,1,0 } }, /* KATAKANA wo" */
  470. #else
  471. { { 0x30FA, "graph" }, { 0,0,0 } }, /* KATAKANA wo" */
  472. #endif
  473. { { 0x30FB, "graph" }, { 0,0,0 } }, /* KATAKANA MID.DOT */
  474. { { 0x30FE, "graph" }, { 0,0,0 } }, /* KATAKANA ITERATION */
  475. #ifdef SHOJI_IS_RIGHT
  476. { { 0x3191, "graph" }, { 0,1,0 } }, /* KANBUN REV.MARK */
  477. { { 0x3243, "graph" }, { 0,1,0 } }, /* IDEO. MARK (reach) */
  478. { { 0x32CB, "graph" }, { 0,1,0 } }, /* IDEO.TEL.SYM.DEC12 */
  479. { { 0x32FE, "graph" }, { 0,1,0 } }, /* MARU KATAKANA wo */
  480. { { 0x33FE, "graph" }, { 0,1,0 } }, /* CJK IDEO.TEL.31th */
  481. #else
  482. { { 0x3191, "graph" }, { 0,0,0 } }, /* KANBUN REV.MARK */
  483. { { 0x3243, "graph" }, { 0,0,0 } }, /* IDEO. MARK (reach) */
  484. { { 0x32CB, "graph" }, { 0,0,0 } }, /* IDEO.TEL.SYM.DEC12 */
  485. { { 0x32FE, "graph" }, { 0,0,0 } }, /* MARU KATAKANA wo */
  486. { { 0x33FE, "graph" }, { 0,0,0 } }, /* CJK IDEO.TEL.31th */
  487. #endif
  488. { { 0x4E00, "graph" }, { 0,0,0 } }, /* CJK UNI.IDEO. */
  489. { { 0x4E05, "graph" }, { 0,0,0 } }, /* CJK UNI.IDEO. */
  490. #ifdef SHOJI_IS_RIGHT
  491. { { 0x4E06, "graph" }, { 0,1,0 } }, /* CJK UNI.IDEO.NON-J */
  492. #else
  493. { { 0x4E06, "graph" }, { 0,0,0 } }, /* CJK UNI.IDEO.NON-J */
  494. #endif
  495. { { 0x4E07, "graph" }, { 0,0,0 } }, /* CJK UNI.IDEO. */
  496. { { 0x4FFF, "graph" }, { 0,0,0 } }, /* CJK UNI.IDEO. */
  497. { { 0x9000, "graph" }, { 0,0,0 } }, /* CJK UNI.IDEO. */
  498. { { 0x9006, "graph" }, { 0,0,0 } }, /* CJK UNI.IDEO. */
  499. #ifdef SHOJI_IS_RIGHT
  500. { { 0x9007, "graph" }, { 0,1,0 } }, /* CJK UNI.IDEO.NON-J */
  501. { { 0x9FA4, "graph" }, { 0,1,0 } }, /* CJK UNI.IDEO.NON-J */
  502. #else
  503. { { 0x9007, "graph" }, { 0,0,0 } }, /* CJK UNI.IDEO.NON-J */
  504. { { 0x9FA4, "graph" }, { 0,0,0 } }, /* CJK UNI.IDEO.NON-J */
  505. #endif
  506. /* 51 */
  507. { { 0x9FA5, "graph" }, { 0,0,0 } }, /* CJK UNI.IDEO. */
  508. /* Non jis: */
  509. #ifdef SHOJI_IS_RIGHT
  510. { { 0xFE4F, "graph" }, { 0,1,0 } }, /* CJK UNI.IDEO. */
  511. #else
  512. { { 0xFE4F, "graph" }, { 0,0,0 } }, /* CJK UNI.IDEO. */
  513. #endif
  514. { { 0xFF0F, "graph" }, { 0,0,0 } }, /* FULL SLASH */
  515. { { 0xFF19, "graph" }, { 0,0,0 } }, /* FULL 9 */
  516. { { 0xFF20, "graph" }, { 0,0,0 } }, /* FULL @ */
  517. { { 0xFF3A, "graph" }, { 0,0,0 } }, /* FULL Z */
  518. { { 0xFF40, "graph" }, { 0,0,0 } }, /* FULL GRAVE ACC. */
  519. { { 0xFF5A, "graph" }, { 0,0,0 } }, /* FULL z */
  520. { { 0xFF5E, "graph" }, { 0,0,0 } }, /* FULL ~ (tilde) */
  521. { { 0xFF61, "graph" }, { 0,0,0 } }, /* HALF IDEO.STOP. . */
  522. { { 0xFF65, "graph" }, { 0,0,0 } }, /* HALF KATA MID.DOT */
  523. { { 0xFF66, "graph" }, { 0,0,0 } }, /* HALF KATA WO */
  524. { { 0xFF6F, "graph" }, { 0,0,0 } }, /* HALF KATA tu */
  525. { { 0xFF70, "graph" }, { 0,0,0 } }, /* HALF KATA PL - */
  526. { { 0xFF71, "graph" }, { 0,0,0 } }, /* HALF KATA A */
  527. { { 0xFF9E, "graph" }, { 0,0,0 } }, /* HALF KATA MI */
  528. { { 0x3000, "print" }, { 0,0,0 } }, /* IDEO. SPACE */
  529. #ifdef SHOJI_IS_RIGHT
  530. { { 0x3020, "print" }, { 0,1,0 } }, /* POSTAL MARK FACE */
  531. { { 0x3029, "print" }, { 0,1,0 } }, /* Hangzhou NUM9 */
  532. { { 0x302F, "print" }, { 0,1,0 } }, /* Diacritics(Hangul) */
  533. { { 0x3037, "print" }, { 0,1,0 } }, /* Separator Symbol */
  534. #else
  535. { { 0x3020, "print" }, { 0,0,0 } }, /* POSTAL MARK FACE */
  536. { { 0x3029, "print" }, { 0,0,0 } }, /* Hangzhou NUM9 */
  537. { { 0x302F, "print" }, { 0,0,0 } }, /* Diacritics(Hangul) */
  538. { { 0x3037, "print" }, { 0,0,0 } }, /* Separator Symbol */
  539. #endif
  540. { { 0x4E00, "print" }, { 0,0,0 } }, /* CJK UNI.IDEO. */
  541. { { 0x4E05, "print" }, { 0,0,0 } }, /* CJK UNI.IDEO. */
  542. #ifdef SHOJI_IS_RIGHT
  543. { { 0x4E06, "print" }, { 0,1,0 } }, /* CJK UNI.IDEO.NON-J */
  544. #else
  545. { { 0x4E06, "print" }, { 0,0,0 } }, /* CJK UNI.IDEO.NON-J */
  546. #endif
  547. { { 0x4E07, "print" }, { 0,0,0 } }, /* CJK UNI.IDEO. */
  548. { { 0x4FFF, "print" }, { 0,0,0 } }, /* CJK UNI.IDEO. */
  549. { { 0x9000, "print" }, { 0,0,0 } }, /* CJK UNI.IDEO. */
  550. { { 0x9006, "print" }, { 0,0,0 } }, /* CJK UNI.IDEO. */
  551. #ifdef SHOJI_IS_RIGHT
  552. { { 0x9007, "print" }, { 0,1,0 } }, /* CJK UNI.IDEO.NON-J */
  553. { { 0x9FA4, "print" }, { 0,1,0 } }, /* CJK UNI.IDEO.NON-J */
  554. #else
  555. { { 0x9007, "print" }, { 0,0,0 } }, /* CJK UNI.IDEO.NON-J */
  556. { { 0x9FA4, "print" }, { 0,0,0 } }, /* CJK UNI.IDEO.NON-J */
  557. #endif
  558. /* 81: */
  559. { { 0x9FA5, "print" }, { 0,0,0 } }, /* CJK UNI.IDEO. */
  560. /* Non jis: */
  561. #ifdef SHOJI_IS_RIGHT
  562. { { 0xFE4F, "print" }, { 0,1,0 } }, /* CJK UNI.IDEO. */
  563. #else
  564. { { 0xFE4F, "print" }, { 0,0,0 } }, /* CJK UNI.IDEO. */
  565. #endif
  566. { { 0x3000, "punct" }, { 0,1,0 } }, /* IDEO. SPACE */
  567. #ifdef SHOJI_IS_RIGHT
  568. { { 0x3020, "punct" }, { 0,1,0 } }, /* POSTAL MARK FACE */
  569. { { 0x302F, "punct" }, { 0,1,0 } }, /* Diacritics(Hangul) */
  570. { { 0x3037, "punct" }, { 0,1,0 } }, /* FEED Separator */
  571. { { 0x303F, "punct" }, { 0,1,0 } }, /* IDEO. HALF SPACE */
  572. #else
  573. { { 0x3020, "punct" }, { 0,0,0 } }, /* POSTAL MARK FACE */
  574. { { 0x302F, "punct" }, { 0,0,0 } }, /* Diacritics(Hangul) */
  575. { { 0x3037, "punct" }, { 0,0,0 } }, /* FEED Separator */
  576. { { 0x303F, "punct" }, { 0,0,0 } }, /* IDEO. HALF SPACE */
  577. #endif
  578. { { 0x3041, "punct" }, { 0,1,0 } }, /* HIRAGANA a */
  579. { { 0x3094, "punct" }, { 0,1,0 } }, /* HIRAGANA u" */
  580. /* 90: */
  581. #ifdef SHOJI_IS_RIGHT
  582. { { 0x3099, "punct" }, { 0,1,0 } }, /* SOUND MARK */
  583. #else
  584. { { 0x3099, "punct" }, { 0,0,0 } }, /* SOUND MARK */
  585. #endif
  586. { { 0x309E, "punct" }, { 0,1,0 } }, /* ITERATION MARK */
  587. { { 0x30A1, "punct" }, { 0,1,0 } }, /* KATAKANA a */
  588. { { 0x30FA, "punct" }, { 0,1,0 } }, /* KATAKANA wo" */
  589. { { 0x30FB, "punct" }, { 0,0,0 } }, /* KATAKANA MID.DOT */
  590. /* 95: */
  591. { { 0x30FE, "punct" }, { 0,1,0 } }, /* KATAKANA ITERATION */
  592. #ifdef SHOJI_IS_RIGHT
  593. { { 0x3191, "punct" }, { 0,1,0 } }, /* KANBUN REV.MARK */
  594. { { 0x3243, "punct" }, { 0,1,0 } }, /* IDEO. MARK (reach) */
  595. { { 0x32CB, "punct" }, { 0,1,0 } }, /* IDEO.TEL.SYM.DEC12 */
  596. { { 0x32FE, "punct" }, { 0,1,0 } }, /* MARU KATAKANA wo */
  597. { { 0x33FE, "punct" }, { 0,1,0 } }, /* CJK IDEO.TEL.31th */
  598. #else
  599. { { 0x3191, "punct" }, { 0,0,0 } }, /* KANBUN REV.MARK */
  600. { { 0x3243, "punct" }, { 0,0,0 } }, /* IDEO. MARK (reach) */
  601. { { 0x32CB, "punct" }, { 0,0,0 } }, /* IDEO.TEL.SYM.DEC12 */
  602. { { 0x32FE, "punct" }, { 0,0,0 } }, /* MARU KATAKANA wo */
  603. { { 0x33FE, "punct" }, { 0,0,0 } }, /* CJK IDEO.TEL.31th */
  604. #endif
  605. { { 0x9007, "punct" }, { 0,1,0 } }, /* CJK UNI.IDEO.NON-J */
  606. { { 0x9FA4, "punct" }, { 0,1,0 } }, /* CJK UNI.IDEO.NON-J */
  607. { { 0x9FA5, "punct" }, { 0,1,0 } }, /* CJK UNI.IDEO. */
  608. { { 0xFF0F, "punct" }, { 0,0,0 } }, /* FULL SLASH */
  609. /* 105: */
  610. { { 0xFF19, "punct" }, { 0,1,0 } }, /* FULL 9 */
  611. { { 0xFF20, "punct" }, { 0,0,0 } }, /* FULL @ */
  612. { { 0xFF3A, "punct" }, { 0,1,0 } }, /* FULL Z */
  613. { { 0xFF40, "punct" }, { 0,0,0 } }, /* FULL GRAVE ACC. */
  614. { { 0xFF5A, "punct" }, { 0,1,0 } }, /* FULL z */
  615. { { 0xFF5E, "punct" }, { 0,0,0 } }, /* FULL ~ (tilde) */
  616. { { 0xFF61, "punct" }, { 0,0,0 } }, /* HALF IDEO.STOP. . */
  617. { { 0xFF65, "punct" }, { 0,0,0 } }, /* HALF KATA MID.DOT */
  618. { { 0xFF70, "punct" }, { 0,1,0 } }, /* HALF KATA PL - */
  619. { { 0xFF9E, "punct" }, { 0,1,0 } }, /* HALF KATA MI */
  620. /* 115: */
  621. { { 0x3000, "space" }, { 0,0,0 } }, /* IDEO. SPACE */
  622. { { 0x303F, "space" }, { 0,1,0 } }, /* IDEO. HALF SPACE */
  623. { { 0x3041, "lower" }, { 0,1,0 } }, /* HIRAGANA a */
  624. { { 0x3094, "lower" }, { 0,1,0 } }, /* HIRAGANA u" */
  625. { { 0x30A1, "lower" }, { 0,1,0 } }, /* KATAKANA a */
  626. { { 0x30FA, "lower" }, { 0,1,0 } }, /* KATAKANA wo" */
  627. { { 0xFF66, "lower" }, { 0,1,0 } }, /* HALF KATA WO */
  628. { { 0xFF6F, "lower" }, { 0,1,0 } }, /* HALF KATA tu */
  629. { { 0xFF70, "lower" }, { 0,1,0 } }, /* HALF KATA PL - */
  630. /* 124: */
  631. { { 0xFF71, "lower" }, { 0,1,0 } }, /* HALF KATA A */
  632. { { 0xFF9E, "lower" }, { 0,1,0 } }, /* HALF KATA MI */
  633. { { 0xFF71, "upper" }, { 0,1,0 } }, /* HALF KATA A */
  634. { { 0xFF19, "xdigit" }, { 0,1,0 } }, /* FULL 9 */
  635. { { 0x3000, "jspace" }, { 0,0,0 } }, /* IDEO. SPACE */
  636. /* Non jis? */
  637. { { 0x303F, "jspace" }, { 0,1,0 } }, /* IDEO.HALF SPACE */
  638. { { 0xFF19, "jdigit" }, { 0,0,0 } }, /* FULL 9 */
  639. { { 0x3041, "jhira" }, { 0,0,0 } }, /* HIRAGANA a */
  640. { { 0x3094, "jhira" }, { 0,1,0 } }, /* HIRAGANA u" */
  641. { { 0x30A1, "jkata" }, { 0,0,0 } }, /* KATAKANA a */
  642. /* Non jis: */
  643. { { 0x30FA, "jkata" }, { 0,1,0 } }, /* KATAKANA wo" */
  644. { { 0xFF66, "jkata" }, { 0,0,0 } }, /* HALF KATA WO */
  645. { { 0xFF6F, "jkata" }, { 0,0,0 } }, /* HALF KATA tu */
  646. { { 0x4E05, "jkanji" }, { 0,0,0 } }, /* CJK UNI.IDEO. */
  647. #ifdef SHOJI_IS_RIGHT
  648. /* <NO_WAIVER>: */
  649. { { 0x4E06, "jkanji" }, { 0,1,1 } }, /* CJK UNI.IDEO.NON-J */
  650. #else
  651. /* XXX This character does not exist in EUC-JP. */
  652. { { 0x4E06, "jkanji" }, { 0,1,0 } }, /* CJK UNI.IDEO.NON-J */
  653. #endif
  654. { { 0x4E07, "jkanji" }, { 0,0,0 } }, /* CJK UNI.IDEO. */
  655. { .is_last = 1 }
  656. }
  657. },
  658. {
  659. { Tiswctype, TST_LOC_end }
  660. }
  661. };
  662. /* dat_isw-funcs.c */