immunio 0.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +234 -0
  3. data/README.md +147 -0
  4. data/bin/immunio +5 -0
  5. data/lib/immunio.rb +29 -0
  6. data/lib/immunio/agent.rb +260 -0
  7. data/lib/immunio/authentication.rb +96 -0
  8. data/lib/immunio/blocked_app.rb +38 -0
  9. data/lib/immunio/channel.rb +432 -0
  10. data/lib/immunio/cli.rb +39 -0
  11. data/lib/immunio/context.rb +114 -0
  12. data/lib/immunio/errors.rb +43 -0
  13. data/lib/immunio/immunio_ca.crt +45 -0
  14. data/lib/immunio/logger.rb +87 -0
  15. data/lib/immunio/plugins/action_dispatch.rb +45 -0
  16. data/lib/immunio/plugins/action_view.rb +431 -0
  17. data/lib/immunio/plugins/active_record.rb +707 -0
  18. data/lib/immunio/plugins/active_record_relation.rb +370 -0
  19. data/lib/immunio/plugins/authlogic.rb +80 -0
  20. data/lib/immunio/plugins/csrf.rb +24 -0
  21. data/lib/immunio/plugins/devise.rb +40 -0
  22. data/lib/immunio/plugins/environment_reporter.rb +69 -0
  23. data/lib/immunio/plugins/eval.rb +51 -0
  24. data/lib/immunio/plugins/exception_handler.rb +55 -0
  25. data/lib/immunio/plugins/gems_tracker.rb +5 -0
  26. data/lib/immunio/plugins/haml.rb +36 -0
  27. data/lib/immunio/plugins/http_finisher.rb +50 -0
  28. data/lib/immunio/plugins/http_tracker.rb +203 -0
  29. data/lib/immunio/plugins/io.rb +96 -0
  30. data/lib/immunio/plugins/redirect.rb +42 -0
  31. data/lib/immunio/plugins/warden.rb +66 -0
  32. data/lib/immunio/processor.rb +234 -0
  33. data/lib/immunio/rails.rb +26 -0
  34. data/lib/immunio/request.rb +139 -0
  35. data/lib/immunio/rufus_lua_ext/ref.rb +27 -0
  36. data/lib/immunio/rufus_lua_ext/state.rb +157 -0
  37. data/lib/immunio/rufus_lua_ext/table.rb +137 -0
  38. data/lib/immunio/rufus_lua_ext/utils.rb +13 -0
  39. data/lib/immunio/version.rb +5 -0
  40. data/lib/immunio/vm.rb +291 -0
  41. data/lua-hooks/ext/all.c +78 -0
  42. data/lua-hooks/ext/bitop/README +22 -0
  43. data/lua-hooks/ext/bitop/bit.c +189 -0
  44. data/lua-hooks/ext/extconf.rb +38 -0
  45. data/lua-hooks/ext/libinjection/COPYING +37 -0
  46. data/lua-hooks/ext/libinjection/libinjection.h +65 -0
  47. data/lua-hooks/ext/libinjection/libinjection_html5.c +847 -0
  48. data/lua-hooks/ext/libinjection/libinjection_html5.h +54 -0
  49. data/lua-hooks/ext/libinjection/libinjection_sqli.c +2301 -0
  50. data/lua-hooks/ext/libinjection/libinjection_sqli.h +295 -0
  51. data/lua-hooks/ext/libinjection/libinjection_sqli_data.h +9349 -0
  52. data/lua-hooks/ext/libinjection/libinjection_xss.c +531 -0
  53. data/lua-hooks/ext/libinjection/libinjection_xss.h +21 -0
  54. data/lua-hooks/ext/libinjection/lualib.c +109 -0
  55. data/lua-hooks/ext/lpeg/HISTORY +90 -0
  56. data/lua-hooks/ext/lpeg/lpcap.c +537 -0
  57. data/lua-hooks/ext/lpeg/lpcap.h +43 -0
  58. data/lua-hooks/ext/lpeg/lpcode.c +986 -0
  59. data/lua-hooks/ext/lpeg/lpcode.h +34 -0
  60. data/lua-hooks/ext/lpeg/lpeg-128.gif +0 -0
  61. data/lua-hooks/ext/lpeg/lpeg.html +1429 -0
  62. data/lua-hooks/ext/lpeg/lpprint.c +244 -0
  63. data/lua-hooks/ext/lpeg/lpprint.h +35 -0
  64. data/lua-hooks/ext/lpeg/lptree.c +1238 -0
  65. data/lua-hooks/ext/lpeg/lptree.h +77 -0
  66. data/lua-hooks/ext/lpeg/lptypes.h +149 -0
  67. data/lua-hooks/ext/lpeg/lpvm.c +355 -0
  68. data/lua-hooks/ext/lpeg/lpvm.h +58 -0
  69. data/lua-hooks/ext/lpeg/makefile +55 -0
  70. data/lua-hooks/ext/lpeg/re.html +498 -0
  71. data/lua-hooks/ext/lpeg/test.lua +1409 -0
  72. data/lua-hooks/ext/lua-cmsgpack/CMakeLists.txt +45 -0
  73. data/lua-hooks/ext/lua-cmsgpack/README.md +115 -0
  74. data/lua-hooks/ext/lua-cmsgpack/lua_cmsgpack.c +957 -0
  75. data/lua-hooks/ext/lua-cmsgpack/test.lua +570 -0
  76. data/lua-hooks/ext/lua-snapshot/LICENSE +7 -0
  77. data/lua-hooks/ext/lua-snapshot/Makefile +12 -0
  78. data/lua-hooks/ext/lua-snapshot/README.md +18 -0
  79. data/lua-hooks/ext/lua-snapshot/dump.lua +15 -0
  80. data/lua-hooks/ext/lua-snapshot/snapshot.c +455 -0
  81. data/lua-hooks/ext/lua/COPYRIGHT +34 -0
  82. data/lua-hooks/ext/lua/lapi.c +1087 -0
  83. data/lua-hooks/ext/lua/lapi.h +16 -0
  84. data/lua-hooks/ext/lua/lauxlib.c +652 -0
  85. data/lua-hooks/ext/lua/lauxlib.h +174 -0
  86. data/lua-hooks/ext/lua/lbaselib.c +659 -0
  87. data/lua-hooks/ext/lua/lcode.c +831 -0
  88. data/lua-hooks/ext/lua/lcode.h +76 -0
  89. data/lua-hooks/ext/lua/ldblib.c +398 -0
  90. data/lua-hooks/ext/lua/ldebug.c +638 -0
  91. data/lua-hooks/ext/lua/ldebug.h +33 -0
  92. data/lua-hooks/ext/lua/ldo.c +519 -0
  93. data/lua-hooks/ext/lua/ldo.h +57 -0
  94. data/lua-hooks/ext/lua/ldump.c +164 -0
  95. data/lua-hooks/ext/lua/lfunc.c +174 -0
  96. data/lua-hooks/ext/lua/lfunc.h +34 -0
  97. data/lua-hooks/ext/lua/lgc.c +710 -0
  98. data/lua-hooks/ext/lua/lgc.h +110 -0
  99. data/lua-hooks/ext/lua/linit.c +38 -0
  100. data/lua-hooks/ext/lua/liolib.c +556 -0
  101. data/lua-hooks/ext/lua/llex.c +463 -0
  102. data/lua-hooks/ext/lua/llex.h +81 -0
  103. data/lua-hooks/ext/lua/llimits.h +128 -0
  104. data/lua-hooks/ext/lua/lmathlib.c +263 -0
  105. data/lua-hooks/ext/lua/lmem.c +86 -0
  106. data/lua-hooks/ext/lua/lmem.h +49 -0
  107. data/lua-hooks/ext/lua/loadlib.c +705 -0
  108. data/lua-hooks/ext/lua/loadlib_rel.c +760 -0
  109. data/lua-hooks/ext/lua/lobject.c +214 -0
  110. data/lua-hooks/ext/lua/lobject.h +381 -0
  111. data/lua-hooks/ext/lua/lopcodes.c +102 -0
  112. data/lua-hooks/ext/lua/lopcodes.h +268 -0
  113. data/lua-hooks/ext/lua/loslib.c +243 -0
  114. data/lua-hooks/ext/lua/lparser.c +1339 -0
  115. data/lua-hooks/ext/lua/lparser.h +82 -0
  116. data/lua-hooks/ext/lua/lstate.c +214 -0
  117. data/lua-hooks/ext/lua/lstate.h +169 -0
  118. data/lua-hooks/ext/lua/lstring.c +111 -0
  119. data/lua-hooks/ext/lua/lstring.h +31 -0
  120. data/lua-hooks/ext/lua/lstrlib.c +871 -0
  121. data/lua-hooks/ext/lua/ltable.c +588 -0
  122. data/lua-hooks/ext/lua/ltable.h +40 -0
  123. data/lua-hooks/ext/lua/ltablib.c +287 -0
  124. data/lua-hooks/ext/lua/ltm.c +75 -0
  125. data/lua-hooks/ext/lua/ltm.h +54 -0
  126. data/lua-hooks/ext/lua/lua.c +392 -0
  127. data/lua-hooks/ext/lua/lua.def +131 -0
  128. data/lua-hooks/ext/lua/lua.h +388 -0
  129. data/lua-hooks/ext/lua/lua.rc +28 -0
  130. data/lua-hooks/ext/lua/lua_dll.rc +26 -0
  131. data/lua-hooks/ext/lua/luac.c +200 -0
  132. data/lua-hooks/ext/lua/luac.rc +1 -0
  133. data/lua-hooks/ext/lua/luaconf.h +763 -0
  134. data/lua-hooks/ext/lua/luaconf.h.in +724 -0
  135. data/lua-hooks/ext/lua/luaconf.h.orig +763 -0
  136. data/lua-hooks/ext/lua/lualib.h +53 -0
  137. data/lua-hooks/ext/lua/lundump.c +227 -0
  138. data/lua-hooks/ext/lua/lundump.h +36 -0
  139. data/lua-hooks/ext/lua/lvm.c +767 -0
  140. data/lua-hooks/ext/lua/lvm.h +36 -0
  141. data/lua-hooks/ext/lua/lzio.c +82 -0
  142. data/lua-hooks/ext/lua/lzio.h +67 -0
  143. data/lua-hooks/ext/lua/print.c +227 -0
  144. data/lua-hooks/ext/luautf8/README.md +152 -0
  145. data/lua-hooks/ext/luautf8/lutf8lib.c +1274 -0
  146. data/lua-hooks/ext/luautf8/unidata.h +3064 -0
  147. data/lua-hooks/lib/boot.lua +254 -0
  148. data/lua-hooks/lib/encode.lua +4 -0
  149. data/lua-hooks/lib/lexers/LICENSE +21 -0
  150. data/lua-hooks/lib/lexers/bash.lua +134 -0
  151. data/lua-hooks/lib/lexers/bash_dqstr.lua +62 -0
  152. data/lua-hooks/lib/lexers/css.lua +216 -0
  153. data/lua-hooks/lib/lexers/html.lua +106 -0
  154. data/lua-hooks/lib/lexers/javascript.lua +68 -0
  155. data/lua-hooks/lib/lexers/lexer.lua +1575 -0
  156. data/lua-hooks/lib/lexers/markers.lua +33 -0
  157. metadata +308 -0
@@ -0,0 +1,3064 @@
1
+ /*
2
+ * unidata.h - generated by parseucd.lua
3
+ */
4
+ #ifndef unidata_h
5
+ #define unidata_h
6
+
7
+ typedef struct range_table {
8
+ unsigned int first;
9
+ unsigned int last;
10
+ int step;
11
+ } range_table;
12
+
13
+ typedef struct conv_table {
14
+ unsigned int first;
15
+ unsigned int last;
16
+ int step;
17
+ int offset;
18
+ } conv_table;
19
+
20
+ static struct range_table alpha_table[] = {
21
+ { 0x41, 0x5A, 1 },
22
+ { 0x61, 0x7A, 1 },
23
+ { 0xAA, 0xB5, 11 },
24
+ { 0xBA, 0xC0, 6 },
25
+ { 0xC1, 0xD6, 1 },
26
+ { 0xD8, 0xF6, 1 },
27
+ { 0xF8, 0x2C1, 1 },
28
+ { 0x2C6, 0x2D1, 1 },
29
+ { 0x2E0, 0x2E4, 1 },
30
+ { 0x2EC, 0x2EE, 2 },
31
+ { 0x345, 0x370, 43 },
32
+ { 0x371, 0x374, 1 },
33
+ { 0x376, 0x377, 1 },
34
+ { 0x37A, 0x37D, 1 },
35
+ { 0x37F, 0x386, 7 },
36
+ { 0x388, 0x38A, 1 },
37
+ { 0x38C, 0x38E, 2 },
38
+ { 0x38F, 0x3A1, 1 },
39
+ { 0x3A3, 0x3F5, 1 },
40
+ { 0x3F7, 0x481, 1 },
41
+ { 0x48A, 0x52F, 1 },
42
+ { 0x531, 0x556, 1 },
43
+ { 0x559, 0x561, 8 },
44
+ { 0x562, 0x587, 1 },
45
+ { 0x5B0, 0x5BD, 1 },
46
+ { 0x5BF, 0x5C1, 2 },
47
+ { 0x5C2, 0x5C4, 2 },
48
+ { 0x5C5, 0x5C7, 2 },
49
+ { 0x5D0, 0x5EA, 1 },
50
+ { 0x5F0, 0x5F2, 1 },
51
+ { 0x610, 0x61A, 1 },
52
+ { 0x620, 0x657, 1 },
53
+ { 0x659, 0x65F, 1 },
54
+ { 0x66E, 0x6D3, 1 },
55
+ { 0x6D5, 0x6DC, 1 },
56
+ { 0x6E1, 0x6E8, 1 },
57
+ { 0x6ED, 0x6EF, 1 },
58
+ { 0x6FA, 0x6FC, 1 },
59
+ { 0x6FF, 0x710, 17 },
60
+ { 0x711, 0x73F, 1 },
61
+ { 0x74D, 0x7B1, 1 },
62
+ { 0x7CA, 0x7EA, 1 },
63
+ { 0x7F4, 0x7F5, 1 },
64
+ { 0x7FA, 0x800, 6 },
65
+ { 0x801, 0x817, 1 },
66
+ { 0x81A, 0x82C, 1 },
67
+ { 0x840, 0x858, 1 },
68
+ { 0x8A0, 0x8B2, 1 },
69
+ { 0x8E4, 0x8E9, 1 },
70
+ { 0x8F0, 0x93B, 1 },
71
+ { 0x93D, 0x94C, 1 },
72
+ { 0x94E, 0x950, 1 },
73
+ { 0x955, 0x963, 1 },
74
+ { 0x971, 0x983, 1 },
75
+ { 0x985, 0x98C, 1 },
76
+ { 0x98F, 0x990, 1 },
77
+ { 0x993, 0x9A8, 1 },
78
+ { 0x9AA, 0x9B0, 1 },
79
+ { 0x9B2, 0x9B6, 4 },
80
+ { 0x9B7, 0x9B9, 1 },
81
+ { 0x9BD, 0x9C4, 1 },
82
+ { 0x9C7, 0x9C8, 1 },
83
+ { 0x9CB, 0x9CC, 1 },
84
+ { 0x9CE, 0x9D7, 9 },
85
+ { 0x9DC, 0x9DD, 1 },
86
+ { 0x9DF, 0x9E3, 1 },
87
+ { 0x9F0, 0x9F1, 1 },
88
+ { 0xA01, 0xA03, 1 },
89
+ { 0xA05, 0xA0A, 1 },
90
+ { 0xA0F, 0xA10, 1 },
91
+ { 0xA13, 0xA28, 1 },
92
+ { 0xA2A, 0xA30, 1 },
93
+ { 0xA32, 0xA33, 1 },
94
+ { 0xA35, 0xA36, 1 },
95
+ { 0xA38, 0xA39, 1 },
96
+ { 0xA3E, 0xA42, 1 },
97
+ { 0xA47, 0xA48, 1 },
98
+ { 0xA4B, 0xA4C, 1 },
99
+ { 0xA51, 0xA59, 8 },
100
+ { 0xA5A, 0xA5C, 1 },
101
+ { 0xA5E, 0xA70, 18 },
102
+ { 0xA71, 0xA75, 1 },
103
+ { 0xA81, 0xA83, 1 },
104
+ { 0xA85, 0xA8D, 1 },
105
+ { 0xA8F, 0xA91, 1 },
106
+ { 0xA93, 0xAA8, 1 },
107
+ { 0xAAA, 0xAB0, 1 },
108
+ { 0xAB2, 0xAB3, 1 },
109
+ { 0xAB5, 0xAB9, 1 },
110
+ { 0xABD, 0xAC5, 1 },
111
+ { 0xAC7, 0xAC9, 1 },
112
+ { 0xACB, 0xACC, 1 },
113
+ { 0xAD0, 0xAE0, 16 },
114
+ { 0xAE1, 0xAE3, 1 },
115
+ { 0xB01, 0xB03, 1 },
116
+ { 0xB05, 0xB0C, 1 },
117
+ { 0xB0F, 0xB10, 1 },
118
+ { 0xB13, 0xB28, 1 },
119
+ { 0xB2A, 0xB30, 1 },
120
+ { 0xB32, 0xB33, 1 },
121
+ { 0xB35, 0xB39, 1 },
122
+ { 0xB3D, 0xB44, 1 },
123
+ { 0xB47, 0xB48, 1 },
124
+ { 0xB4B, 0xB4C, 1 },
125
+ { 0xB56, 0xB57, 1 },
126
+ { 0xB5C, 0xB5D, 1 },
127
+ { 0xB5F, 0xB63, 1 },
128
+ { 0xB71, 0xB82, 17 },
129
+ { 0xB83, 0xB85, 2 },
130
+ { 0xB86, 0xB8A, 1 },
131
+ { 0xB8E, 0xB90, 1 },
132
+ { 0xB92, 0xB95, 1 },
133
+ { 0xB99, 0xB9A, 1 },
134
+ { 0xB9C, 0xB9E, 2 },
135
+ { 0xB9F, 0xBA3, 4 },
136
+ { 0xBA4, 0xBA8, 4 },
137
+ { 0xBA9, 0xBAA, 1 },
138
+ { 0xBAE, 0xBB9, 1 },
139
+ { 0xBBE, 0xBC2, 1 },
140
+ { 0xBC6, 0xBC8, 1 },
141
+ { 0xBCA, 0xBCC, 1 },
142
+ { 0xBD0, 0xBD7, 7 },
143
+ { 0xC00, 0xC03, 1 },
144
+ { 0xC05, 0xC0C, 1 },
145
+ { 0xC0E, 0xC10, 1 },
146
+ { 0xC12, 0xC28, 1 },
147
+ { 0xC2A, 0xC39, 1 },
148
+ { 0xC3D, 0xC44, 1 },
149
+ { 0xC46, 0xC48, 1 },
150
+ { 0xC4A, 0xC4C, 1 },
151
+ { 0xC55, 0xC56, 1 },
152
+ { 0xC58, 0xC59, 1 },
153
+ { 0xC60, 0xC63, 1 },
154
+ { 0xC81, 0xC83, 1 },
155
+ { 0xC85, 0xC8C, 1 },
156
+ { 0xC8E, 0xC90, 1 },
157
+ { 0xC92, 0xCA8, 1 },
158
+ { 0xCAA, 0xCB3, 1 },
159
+ { 0xCB5, 0xCB9, 1 },
160
+ { 0xCBD, 0xCC4, 1 },
161
+ { 0xCC6, 0xCC8, 1 },
162
+ { 0xCCA, 0xCCC, 1 },
163
+ { 0xCD5, 0xCD6, 1 },
164
+ { 0xCDE, 0xCE0, 2 },
165
+ { 0xCE1, 0xCE3, 1 },
166
+ { 0xCF1, 0xCF2, 1 },
167
+ { 0xD01, 0xD03, 1 },
168
+ { 0xD05, 0xD0C, 1 },
169
+ { 0xD0E, 0xD10, 1 },
170
+ { 0xD12, 0xD3A, 1 },
171
+ { 0xD3D, 0xD44, 1 },
172
+ { 0xD46, 0xD48, 1 },
173
+ { 0xD4A, 0xD4C, 1 },
174
+ { 0xD4E, 0xD60, 9 },
175
+ { 0xD61, 0xD63, 1 },
176
+ { 0xD7A, 0xD7F, 1 },
177
+ { 0xD82, 0xD83, 1 },
178
+ { 0xD85, 0xD96, 1 },
179
+ { 0xD9A, 0xDB1, 1 },
180
+ { 0xDB3, 0xDBB, 1 },
181
+ { 0xDBD, 0xDC0, 3 },
182
+ { 0xDC1, 0xDC6, 1 },
183
+ { 0xDCF, 0xDD4, 1 },
184
+ { 0xDD6, 0xDD8, 2 },
185
+ { 0xDD9, 0xDDF, 1 },
186
+ { 0xDF2, 0xDF3, 1 },
187
+ { 0xE01, 0xE3A, 1 },
188
+ { 0xE40, 0xE46, 1 },
189
+ { 0xE4D, 0xE81, 52 },
190
+ { 0xE82, 0xE84, 2 },
191
+ { 0xE87, 0xE88, 1 },
192
+ { 0xE8A, 0xE8D, 3 },
193
+ { 0xE94, 0xE97, 1 },
194
+ { 0xE99, 0xE9F, 1 },
195
+ { 0xEA1, 0xEA3, 1 },
196
+ { 0xEA5, 0xEA7, 2 },
197
+ { 0xEAA, 0xEAB, 1 },
198
+ { 0xEAD, 0xEB9, 1 },
199
+ { 0xEBB, 0xEBD, 1 },
200
+ { 0xEC0, 0xEC4, 1 },
201
+ { 0xEC6, 0xECD, 7 },
202
+ { 0xEDC, 0xEDF, 1 },
203
+ { 0xF00, 0xF40, 64 },
204
+ { 0xF41, 0xF47, 1 },
205
+ { 0xF49, 0xF6C, 1 },
206
+ { 0xF71, 0xF81, 1 },
207
+ { 0xF88, 0xF97, 1 },
208
+ { 0xF99, 0xFBC, 1 },
209
+ { 0x1000, 0x1036, 1 },
210
+ { 0x1038, 0x103B, 3 },
211
+ { 0x103C, 0x103F, 1 },
212
+ { 0x1050, 0x1062, 1 },
213
+ { 0x1065, 0x1068, 1 },
214
+ { 0x106E, 0x1086, 1 },
215
+ { 0x108E, 0x109C, 14 },
216
+ { 0x109D, 0x10A0, 3 },
217
+ { 0x10A1, 0x10C5, 1 },
218
+ { 0x10C7, 0x10CD, 6 },
219
+ { 0x10D0, 0x10FA, 1 },
220
+ { 0x10FC, 0x1248, 1 },
221
+ { 0x124A, 0x124D, 1 },
222
+ { 0x1250, 0x1256, 1 },
223
+ { 0x1258, 0x125A, 2 },
224
+ { 0x125B, 0x125D, 1 },
225
+ { 0x1260, 0x1288, 1 },
226
+ { 0x128A, 0x128D, 1 },
227
+ { 0x1290, 0x12B0, 1 },
228
+ { 0x12B2, 0x12B5, 1 },
229
+ { 0x12B8, 0x12BE, 1 },
230
+ { 0x12C0, 0x12C2, 2 },
231
+ { 0x12C3, 0x12C5, 1 },
232
+ { 0x12C8, 0x12D6, 1 },
233
+ { 0x12D8, 0x1310, 1 },
234
+ { 0x1312, 0x1315, 1 },
235
+ { 0x1318, 0x135A, 1 },
236
+ { 0x135F, 0x1380, 33 },
237
+ { 0x1381, 0x138F, 1 },
238
+ { 0x13A0, 0x13F4, 1 },
239
+ { 0x1401, 0x166C, 1 },
240
+ { 0x166F, 0x167F, 1 },
241
+ { 0x1681, 0x169A, 1 },
242
+ { 0x16A0, 0x16EA, 1 },
243
+ { 0x16EE, 0x16F8, 1 },
244
+ { 0x1700, 0x170C, 1 },
245
+ { 0x170E, 0x1713, 1 },
246
+ { 0x1720, 0x1733, 1 },
247
+ { 0x1740, 0x1753, 1 },
248
+ { 0x1760, 0x176C, 1 },
249
+ { 0x176E, 0x1770, 1 },
250
+ { 0x1772, 0x1773, 1 },
251
+ { 0x1780, 0x17B3, 1 },
252
+ { 0x17B6, 0x17C8, 1 },
253
+ { 0x17D7, 0x17DC, 5 },
254
+ { 0x1820, 0x1877, 1 },
255
+ { 0x1880, 0x18AA, 1 },
256
+ { 0x18B0, 0x18F5, 1 },
257
+ { 0x1900, 0x191E, 1 },
258
+ { 0x1920, 0x192B, 1 },
259
+ { 0x1930, 0x1938, 1 },
260
+ { 0x1950, 0x196D, 1 },
261
+ { 0x1970, 0x1974, 1 },
262
+ { 0x1980, 0x19AB, 1 },
263
+ { 0x19B0, 0x19C9, 1 },
264
+ { 0x1A00, 0x1A1B, 1 },
265
+ { 0x1A20, 0x1A5E, 1 },
266
+ { 0x1A61, 0x1A74, 1 },
267
+ { 0x1AA7, 0x1B00, 89 },
268
+ { 0x1B01, 0x1B33, 1 },
269
+ { 0x1B35, 0x1B43, 1 },
270
+ { 0x1B45, 0x1B4B, 1 },
271
+ { 0x1B80, 0x1BA9, 1 },
272
+ { 0x1BAC, 0x1BAF, 1 },
273
+ { 0x1BBA, 0x1BE5, 1 },
274
+ { 0x1BE7, 0x1BF1, 1 },
275
+ { 0x1C00, 0x1C35, 1 },
276
+ { 0x1C4D, 0x1C4F, 1 },
277
+ { 0x1C5A, 0x1C7D, 1 },
278
+ { 0x1CE9, 0x1CEC, 1 },
279
+ { 0x1CEE, 0x1CF3, 1 },
280
+ { 0x1CF5, 0x1CF6, 1 },
281
+ { 0x1D00, 0x1DBF, 1 },
282
+ { 0x1DE7, 0x1DF4, 1 },
283
+ { 0x1E00, 0x1F15, 1 },
284
+ { 0x1F18, 0x1F1D, 1 },
285
+ { 0x1F20, 0x1F45, 1 },
286
+ { 0x1F48, 0x1F4D, 1 },
287
+ { 0x1F50, 0x1F57, 1 },
288
+ { 0x1F59, 0x1F5F, 2 },
289
+ { 0x1F60, 0x1F7D, 1 },
290
+ { 0x1F80, 0x1FB4, 1 },
291
+ { 0x1FB6, 0x1FBC, 1 },
292
+ { 0x1FBE, 0x1FC2, 4 },
293
+ { 0x1FC3, 0x1FC4, 1 },
294
+ { 0x1FC6, 0x1FCC, 1 },
295
+ { 0x1FD0, 0x1FD3, 1 },
296
+ { 0x1FD6, 0x1FDB, 1 },
297
+ { 0x1FE0, 0x1FEC, 1 },
298
+ { 0x1FF2, 0x1FF4, 1 },
299
+ { 0x1FF6, 0x1FFC, 1 },
300
+ { 0x2071, 0x207F, 14 },
301
+ { 0x2090, 0x209C, 1 },
302
+ { 0x2102, 0x2107, 5 },
303
+ { 0x210A, 0x2113, 1 },
304
+ { 0x2115, 0x2119, 4 },
305
+ { 0x211A, 0x211D, 1 },
306
+ { 0x2124, 0x212A, 2 },
307
+ { 0x212B, 0x212D, 1 },
308
+ { 0x212F, 0x2139, 1 },
309
+ { 0x213C, 0x213F, 1 },
310
+ { 0x2145, 0x2149, 1 },
311
+ { 0x214E, 0x2160, 18 },
312
+ { 0x2161, 0x2188, 1 },
313
+ { 0x24B6, 0x24E9, 1 },
314
+ { 0x2C00, 0x2C2E, 1 },
315
+ { 0x2C30, 0x2C5E, 1 },
316
+ { 0x2C60, 0x2CE4, 1 },
317
+ { 0x2CEB, 0x2CEE, 1 },
318
+ { 0x2CF2, 0x2CF3, 1 },
319
+ { 0x2D00, 0x2D25, 1 },
320
+ { 0x2D27, 0x2D2D, 6 },
321
+ { 0x2D30, 0x2D67, 1 },
322
+ { 0x2D6F, 0x2D80, 17 },
323
+ { 0x2D81, 0x2D96, 1 },
324
+ { 0x2DA0, 0x2DA6, 1 },
325
+ { 0x2DA8, 0x2DAE, 1 },
326
+ { 0x2DB0, 0x2DB6, 1 },
327
+ { 0x2DB8, 0x2DBE, 1 },
328
+ { 0x2DC0, 0x2DC6, 1 },
329
+ { 0x2DC8, 0x2DCE, 1 },
330
+ { 0x2DD0, 0x2DD6, 1 },
331
+ { 0x2DD8, 0x2DDE, 1 },
332
+ { 0x2DE0, 0x2DFF, 1 },
333
+ { 0x2E2F, 0x3005, 470 },
334
+ { 0x3006, 0x3007, 1 },
335
+ { 0x3021, 0x3029, 1 },
336
+ { 0x3031, 0x3035, 1 },
337
+ { 0x3038, 0x303C, 1 },
338
+ { 0x3041, 0x3096, 1 },
339
+ { 0x309D, 0x309F, 1 },
340
+ { 0x30A1, 0x30FA, 1 },
341
+ { 0x30FC, 0x30FF, 1 },
342
+ { 0x3105, 0x312D, 1 },
343
+ { 0x3131, 0x318E, 1 },
344
+ { 0x31A0, 0x31BA, 1 },
345
+ { 0x31F0, 0x31FF, 1 },
346
+ { 0x3400, 0x4DB5, 1 },
347
+ { 0x4E00, 0x9FCC, 1 },
348
+ { 0xA000, 0xA48C, 1 },
349
+ { 0xA4D0, 0xA4FD, 1 },
350
+ { 0xA500, 0xA60C, 1 },
351
+ { 0xA610, 0xA61F, 1 },
352
+ { 0xA62A, 0xA62B, 1 },
353
+ { 0xA640, 0xA66E, 1 },
354
+ { 0xA674, 0xA67B, 1 },
355
+ { 0xA67F, 0xA69D, 1 },
356
+ { 0xA69F, 0xA6EF, 1 },
357
+ { 0xA717, 0xA71F, 1 },
358
+ { 0xA722, 0xA788, 1 },
359
+ { 0xA78B, 0xA78E, 1 },
360
+ { 0xA790, 0xA7AD, 1 },
361
+ { 0xA7B0, 0xA7B1, 1 },
362
+ { 0xA7F7, 0xA801, 1 },
363
+ { 0xA803, 0xA805, 1 },
364
+ { 0xA807, 0xA80A, 1 },
365
+ { 0xA80C, 0xA827, 1 },
366
+ { 0xA840, 0xA873, 1 },
367
+ { 0xA880, 0xA8C3, 1 },
368
+ { 0xA8F2, 0xA8F7, 1 },
369
+ { 0xA8FB, 0xA90A, 15 },
370
+ { 0xA90B, 0xA92A, 1 },
371
+ { 0xA930, 0xA952, 1 },
372
+ { 0xA960, 0xA97C, 1 },
373
+ { 0xA980, 0xA9B2, 1 },
374
+ { 0xA9B4, 0xA9BF, 1 },
375
+ { 0xA9CF, 0xA9E0, 17 },
376
+ { 0xA9E1, 0xA9E4, 1 },
377
+ { 0xA9E6, 0xA9EF, 1 },
378
+ { 0xA9FA, 0xA9FE, 1 },
379
+ { 0xAA00, 0xAA36, 1 },
380
+ { 0xAA40, 0xAA4D, 1 },
381
+ { 0xAA60, 0xAA76, 1 },
382
+ { 0xAA7A, 0xAA7E, 4 },
383
+ { 0xAA7F, 0xAABE, 1 },
384
+ { 0xAAC0, 0xAAC2, 2 },
385
+ { 0xAADB, 0xAADD, 1 },
386
+ { 0xAAE0, 0xAAEF, 1 },
387
+ { 0xAAF2, 0xAAF5, 1 },
388
+ { 0xAB01, 0xAB06, 1 },
389
+ { 0xAB09, 0xAB0E, 1 },
390
+ { 0xAB11, 0xAB16, 1 },
391
+ { 0xAB20, 0xAB26, 1 },
392
+ { 0xAB28, 0xAB2E, 1 },
393
+ { 0xAB30, 0xAB5A, 1 },
394
+ { 0xAB5C, 0xAB5F, 1 },
395
+ { 0xAB64, 0xAB65, 1 },
396
+ { 0xABC0, 0xABEA, 1 },
397
+ { 0xAC00, 0xD7A3, 1 },
398
+ { 0xD7B0, 0xD7C6, 1 },
399
+ { 0xD7CB, 0xD7FB, 1 },
400
+ { 0xF900, 0xFA6D, 1 },
401
+ { 0xFA70, 0xFAD9, 1 },
402
+ { 0xFB00, 0xFB06, 1 },
403
+ { 0xFB13, 0xFB17, 1 },
404
+ { 0xFB1D, 0xFB28, 1 },
405
+ { 0xFB2A, 0xFB36, 1 },
406
+ { 0xFB38, 0xFB3C, 1 },
407
+ { 0xFB3E, 0xFB40, 2 },
408
+ { 0xFB41, 0xFB43, 2 },
409
+ { 0xFB44, 0xFB46, 2 },
410
+ { 0xFB47, 0xFBB1, 1 },
411
+ { 0xFBD3, 0xFD3D, 1 },
412
+ { 0xFD50, 0xFD8F, 1 },
413
+ { 0xFD92, 0xFDC7, 1 },
414
+ { 0xFDF0, 0xFDFB, 1 },
415
+ { 0xFE70, 0xFE74, 1 },
416
+ { 0xFE76, 0xFEFC, 1 },
417
+ { 0xFF21, 0xFF3A, 1 },
418
+ { 0xFF41, 0xFF5A, 1 },
419
+ { 0xFF66, 0xFFBE, 1 },
420
+ { 0xFFC2, 0xFFC7, 1 },
421
+ { 0xFFCA, 0xFFCF, 1 },
422
+ { 0xFFD2, 0xFFD7, 1 },
423
+ { 0xFFDA, 0xFFDC, 1 },
424
+ { 0x10000, 0x1000B, 1 },
425
+ { 0x1000D, 0x10026, 1 },
426
+ { 0x10028, 0x1003A, 1 },
427
+ { 0x1003C, 0x1003D, 1 },
428
+ { 0x1003F, 0x1004D, 1 },
429
+ { 0x10050, 0x1005D, 1 },
430
+ { 0x10080, 0x100FA, 1 },
431
+ { 0x10140, 0x10174, 1 },
432
+ { 0x10280, 0x1029C, 1 },
433
+ { 0x102A0, 0x102D0, 1 },
434
+ { 0x10300, 0x1031F, 1 },
435
+ { 0x10330, 0x1034A, 1 },
436
+ { 0x10350, 0x1037A, 1 },
437
+ { 0x10380, 0x1039D, 1 },
438
+ { 0x103A0, 0x103C3, 1 },
439
+ { 0x103C8, 0x103CF, 1 },
440
+ { 0x103D1, 0x103D5, 1 },
441
+ { 0x10400, 0x1049D, 1 },
442
+ { 0x10500, 0x10527, 1 },
443
+ { 0x10530, 0x10563, 1 },
444
+ { 0x10600, 0x10736, 1 },
445
+ { 0x10740, 0x10755, 1 },
446
+ { 0x10760, 0x10767, 1 },
447
+ { 0x10800, 0x10805, 1 },
448
+ { 0x10808, 0x1080A, 2 },
449
+ { 0x1080B, 0x10835, 1 },
450
+ { 0x10837, 0x10838, 1 },
451
+ { 0x1083C, 0x1083F, 3 },
452
+ { 0x10840, 0x10855, 1 },
453
+ { 0x10860, 0x10876, 1 },
454
+ { 0x10880, 0x1089E, 1 },
455
+ { 0x10900, 0x10915, 1 },
456
+ { 0x10920, 0x10939, 1 },
457
+ { 0x10980, 0x109B7, 1 },
458
+ { 0x109BE, 0x109BF, 1 },
459
+ { 0x10A00, 0x10A03, 1 },
460
+ { 0x10A05, 0x10A06, 1 },
461
+ { 0x10A0C, 0x10A13, 1 },
462
+ { 0x10A15, 0x10A17, 1 },
463
+ { 0x10A19, 0x10A33, 1 },
464
+ { 0x10A60, 0x10A7C, 1 },
465
+ { 0x10A80, 0x10A9C, 1 },
466
+ { 0x10AC0, 0x10AC7, 1 },
467
+ { 0x10AC9, 0x10AE4, 1 },
468
+ { 0x10B00, 0x10B35, 1 },
469
+ { 0x10B40, 0x10B55, 1 },
470
+ { 0x10B60, 0x10B72, 1 },
471
+ { 0x10B80, 0x10B91, 1 },
472
+ { 0x10C00, 0x10C48, 1 },
473
+ { 0x11000, 0x11045, 1 },
474
+ { 0x11082, 0x110B8, 1 },
475
+ { 0x110D0, 0x110E8, 1 },
476
+ { 0x11100, 0x11132, 1 },
477
+ { 0x11150, 0x11172, 1 },
478
+ { 0x11176, 0x11180, 10 },
479
+ { 0x11181, 0x111BF, 1 },
480
+ { 0x111C1, 0x111C4, 1 },
481
+ { 0x111DA, 0x11200, 38 },
482
+ { 0x11201, 0x11211, 1 },
483
+ { 0x11213, 0x11234, 1 },
484
+ { 0x11237, 0x112B0, 121 },
485
+ { 0x112B1, 0x112E8, 1 },
486
+ { 0x11301, 0x11303, 1 },
487
+ { 0x11305, 0x1130C, 1 },
488
+ { 0x1130F, 0x11310, 1 },
489
+ { 0x11313, 0x11328, 1 },
490
+ { 0x1132A, 0x11330, 1 },
491
+ { 0x11332, 0x11333, 1 },
492
+ { 0x11335, 0x11339, 1 },
493
+ { 0x1133D, 0x11344, 1 },
494
+ { 0x11347, 0x11348, 1 },
495
+ { 0x1134B, 0x1134C, 1 },
496
+ { 0x11357, 0x1135D, 6 },
497
+ { 0x1135E, 0x11363, 1 },
498
+ { 0x11480, 0x114C1, 1 },
499
+ { 0x114C4, 0x114C5, 1 },
500
+ { 0x114C7, 0x11580, 185 },
501
+ { 0x11581, 0x115B5, 1 },
502
+ { 0x115B8, 0x115BE, 1 },
503
+ { 0x11600, 0x1163E, 1 },
504
+ { 0x11640, 0x11644, 4 },
505
+ { 0x11680, 0x116B5, 1 },
506
+ { 0x118A0, 0x118DF, 1 },
507
+ { 0x118FF, 0x11AC0, 449 },
508
+ { 0x11AC1, 0x11AF8, 1 },
509
+ { 0x12000, 0x12398, 1 },
510
+ { 0x12400, 0x1246E, 1 },
511
+ { 0x13000, 0x1342E, 1 },
512
+ { 0x16800, 0x16A38, 1 },
513
+ { 0x16A40, 0x16A5E, 1 },
514
+ { 0x16AD0, 0x16AED, 1 },
515
+ { 0x16B00, 0x16B36, 1 },
516
+ { 0x16B40, 0x16B43, 1 },
517
+ { 0x16B63, 0x16B77, 1 },
518
+ { 0x16B7D, 0x16B8F, 1 },
519
+ { 0x16F00, 0x16F44, 1 },
520
+ { 0x16F50, 0x16F7E, 1 },
521
+ { 0x16F93, 0x16F9F, 1 },
522
+ { 0x1B000, 0x1B001, 1 },
523
+ { 0x1BC00, 0x1BC6A, 1 },
524
+ { 0x1BC70, 0x1BC7C, 1 },
525
+ { 0x1BC80, 0x1BC88, 1 },
526
+ { 0x1BC90, 0x1BC99, 1 },
527
+ { 0x1BC9E, 0x1D400, 5986 },
528
+ { 0x1D401, 0x1D454, 1 },
529
+ { 0x1D456, 0x1D49C, 1 },
530
+ { 0x1D49E, 0x1D49F, 1 },
531
+ { 0x1D4A2, 0x1D4A5, 3 },
532
+ { 0x1D4A6, 0x1D4A9, 3 },
533
+ { 0x1D4AA, 0x1D4AC, 1 },
534
+ { 0x1D4AE, 0x1D4B9, 1 },
535
+ { 0x1D4BB, 0x1D4BD, 2 },
536
+ { 0x1D4BE, 0x1D4C3, 1 },
537
+ { 0x1D4C5, 0x1D505, 1 },
538
+ { 0x1D507, 0x1D50A, 1 },
539
+ { 0x1D50D, 0x1D514, 1 },
540
+ { 0x1D516, 0x1D51C, 1 },
541
+ { 0x1D51E, 0x1D539, 1 },
542
+ { 0x1D53B, 0x1D53E, 1 },
543
+ { 0x1D540, 0x1D544, 1 },
544
+ { 0x1D546, 0x1D54A, 4 },
545
+ { 0x1D54B, 0x1D550, 1 },
546
+ { 0x1D552, 0x1D6A5, 1 },
547
+ { 0x1D6A8, 0x1D6C0, 1 },
548
+ { 0x1D6C2, 0x1D6DA, 1 },
549
+ { 0x1D6DC, 0x1D6FA, 1 },
550
+ { 0x1D6FC, 0x1D714, 1 },
551
+ { 0x1D716, 0x1D734, 1 },
552
+ { 0x1D736, 0x1D74E, 1 },
553
+ { 0x1D750, 0x1D76E, 1 },
554
+ { 0x1D770, 0x1D788, 1 },
555
+ { 0x1D78A, 0x1D7A8, 1 },
556
+ { 0x1D7AA, 0x1D7C2, 1 },
557
+ { 0x1D7C4, 0x1D7CB, 1 },
558
+ { 0x1E800, 0x1E8C4, 1 },
559
+ { 0x1EE00, 0x1EE03, 1 },
560
+ { 0x1EE05, 0x1EE1F, 1 },
561
+ { 0x1EE21, 0x1EE22, 1 },
562
+ { 0x1EE24, 0x1EE27, 3 },
563
+ { 0x1EE29, 0x1EE32, 1 },
564
+ { 0x1EE34, 0x1EE37, 1 },
565
+ { 0x1EE39, 0x1EE3B, 2 },
566
+ { 0x1EE42, 0x1EE47, 5 },
567
+ { 0x1EE49, 0x1EE4D, 2 },
568
+ { 0x1EE4E, 0x1EE4F, 1 },
569
+ { 0x1EE51, 0x1EE52, 1 },
570
+ { 0x1EE54, 0x1EE57, 3 },
571
+ { 0x1EE59, 0x1EE61, 2 },
572
+ { 0x1EE62, 0x1EE64, 2 },
573
+ { 0x1EE67, 0x1EE6A, 1 },
574
+ { 0x1EE6C, 0x1EE72, 1 },
575
+ { 0x1EE74, 0x1EE77, 1 },
576
+ { 0x1EE79, 0x1EE7C, 1 },
577
+ { 0x1EE7E, 0x1EE80, 2 },
578
+ { 0x1EE81, 0x1EE89, 1 },
579
+ { 0x1EE8B, 0x1EE9B, 1 },
580
+ { 0x1EEA1, 0x1EEA3, 1 },
581
+ { 0x1EEA5, 0x1EEA9, 1 },
582
+ { 0x1EEAB, 0x1EEBB, 1 },
583
+ { 0x1F130, 0x1F149, 1 },
584
+ { 0x1F150, 0x1F169, 1 },
585
+ { 0x1F170, 0x1F189, 1 },
586
+ { 0x20000, 0x2A6D6, 1 },
587
+ { 0x2A700, 0x2B734, 1 },
588
+ { 0x2B740, 0x2B81D, 1 },
589
+ { 0x2F800, 0x2FA1D, 1 },
590
+ };
591
+
592
+ static struct range_table lower_table[] = {
593
+ { 0x61, 0x7A, 1 },
594
+ { 0xAA, 0xB5, 11 },
595
+ { 0xBA, 0xDF, 37 },
596
+ { 0xE0, 0xF6, 1 },
597
+ { 0xF8, 0xFF, 1 },
598
+ { 0x101, 0x137, 2 },
599
+ { 0x138, 0x148, 2 },
600
+ { 0x149, 0x177, 2 },
601
+ { 0x17A, 0x17E, 2 },
602
+ { 0x17F, 0x180, 1 },
603
+ { 0x183, 0x185, 2 },
604
+ { 0x188, 0x18C, 4 },
605
+ { 0x18D, 0x192, 5 },
606
+ { 0x195, 0x199, 4 },
607
+ { 0x19A, 0x19B, 1 },
608
+ { 0x19E, 0x1A1, 3 },
609
+ { 0x1A3, 0x1A5, 2 },
610
+ { 0x1A8, 0x1AA, 2 },
611
+ { 0x1AB, 0x1AD, 2 },
612
+ { 0x1B0, 0x1B4, 4 },
613
+ { 0x1B6, 0x1B9, 3 },
614
+ { 0x1BA, 0x1BD, 3 },
615
+ { 0x1BE, 0x1BF, 1 },
616
+ { 0x1C6, 0x1CC, 3 },
617
+ { 0x1CE, 0x1DC, 2 },
618
+ { 0x1DD, 0x1EF, 2 },
619
+ { 0x1F0, 0x1F3, 3 },
620
+ { 0x1F5, 0x1F9, 4 },
621
+ { 0x1FB, 0x233, 2 },
622
+ { 0x234, 0x239, 1 },
623
+ { 0x23C, 0x23F, 3 },
624
+ { 0x240, 0x242, 2 },
625
+ { 0x247, 0x24F, 2 },
626
+ { 0x250, 0x293, 1 },
627
+ { 0x295, 0x2B8, 1 },
628
+ { 0x2C0, 0x2C1, 1 },
629
+ { 0x2E0, 0x2E4, 1 },
630
+ { 0x345, 0x371, 44 },
631
+ { 0x373, 0x377, 4 },
632
+ { 0x37A, 0x37D, 1 },
633
+ { 0x390, 0x3AC, 28 },
634
+ { 0x3AD, 0x3CE, 1 },
635
+ { 0x3D0, 0x3D1, 1 },
636
+ { 0x3D5, 0x3D7, 1 },
637
+ { 0x3D9, 0x3EF, 2 },
638
+ { 0x3F0, 0x3F3, 1 },
639
+ { 0x3F5, 0x3FB, 3 },
640
+ { 0x3FC, 0x430, 52 },
641
+ { 0x431, 0x45F, 1 },
642
+ { 0x461, 0x481, 2 },
643
+ { 0x48B, 0x4BF, 2 },
644
+ { 0x4C2, 0x4CE, 2 },
645
+ { 0x4CF, 0x52F, 2 },
646
+ { 0x561, 0x587, 1 },
647
+ { 0x1D00, 0x1DBF, 1 },
648
+ { 0x1E01, 0x1E95, 2 },
649
+ { 0x1E96, 0x1E9D, 1 },
650
+ { 0x1E9F, 0x1EFF, 2 },
651
+ { 0x1F00, 0x1F07, 1 },
652
+ { 0x1F10, 0x1F15, 1 },
653
+ { 0x1F20, 0x1F27, 1 },
654
+ { 0x1F30, 0x1F37, 1 },
655
+ { 0x1F40, 0x1F45, 1 },
656
+ { 0x1F50, 0x1F57, 1 },
657
+ { 0x1F60, 0x1F67, 1 },
658
+ { 0x1F70, 0x1F7D, 1 },
659
+ { 0x1F80, 0x1F87, 1 },
660
+ { 0x1F90, 0x1F97, 1 },
661
+ { 0x1FA0, 0x1FA7, 1 },
662
+ { 0x1FB0, 0x1FB4, 1 },
663
+ { 0x1FB6, 0x1FB7, 1 },
664
+ { 0x1FBE, 0x1FC2, 4 },
665
+ { 0x1FC3, 0x1FC4, 1 },
666
+ { 0x1FC6, 0x1FC7, 1 },
667
+ { 0x1FD0, 0x1FD3, 1 },
668
+ { 0x1FD6, 0x1FD7, 1 },
669
+ { 0x1FE0, 0x1FE7, 1 },
670
+ { 0x1FF2, 0x1FF4, 1 },
671
+ { 0x1FF6, 0x1FF7, 1 },
672
+ { 0x2071, 0x207F, 14 },
673
+ { 0x2090, 0x209C, 1 },
674
+ { 0x210A, 0x210E, 4 },
675
+ { 0x210F, 0x2113, 4 },
676
+ { 0x212F, 0x2139, 5 },
677
+ { 0x213C, 0x213D, 1 },
678
+ { 0x2146, 0x2149, 1 },
679
+ { 0x214E, 0x2170, 34 },
680
+ { 0x2171, 0x217F, 1 },
681
+ { 0x2184, 0x24D0, 844 },
682
+ { 0x24D1, 0x24E9, 1 },
683
+ { 0x2C30, 0x2C5E, 1 },
684
+ { 0x2C61, 0x2C65, 4 },
685
+ { 0x2C66, 0x2C6C, 2 },
686
+ { 0x2C71, 0x2C73, 2 },
687
+ { 0x2C74, 0x2C76, 2 },
688
+ { 0x2C77, 0x2C7D, 1 },
689
+ { 0x2C81, 0x2CE3, 2 },
690
+ { 0x2CE4, 0x2CEC, 8 },
691
+ { 0x2CEE, 0x2CF3, 5 },
692
+ { 0x2D00, 0x2D25, 1 },
693
+ { 0x2D27, 0x2D2D, 6 },
694
+ { 0xA641, 0xA66D, 2 },
695
+ { 0xA681, 0xA69B, 2 },
696
+ { 0xA69C, 0xA69D, 1 },
697
+ { 0xA723, 0xA72F, 2 },
698
+ { 0xA730, 0xA731, 1 },
699
+ { 0xA733, 0xA76F, 2 },
700
+ { 0xA770, 0xA778, 1 },
701
+ { 0xA77A, 0xA77C, 2 },
702
+ { 0xA77F, 0xA787, 2 },
703
+ { 0xA78C, 0xA78E, 2 },
704
+ { 0xA791, 0xA793, 2 },
705
+ { 0xA794, 0xA795, 1 },
706
+ { 0xA797, 0xA7A9, 2 },
707
+ { 0xA7F8, 0xA7FA, 1 },
708
+ { 0xAB30, 0xAB5A, 1 },
709
+ { 0xAB5C, 0xAB5F, 1 },
710
+ { 0xAB64, 0xAB65, 1 },
711
+ { 0xFB00, 0xFB06, 1 },
712
+ { 0xFB13, 0xFB17, 1 },
713
+ { 0xFF41, 0xFF5A, 1 },
714
+ { 0x10428, 0x1044F, 1 },
715
+ { 0x118C0, 0x118DF, 1 },
716
+ { 0x1D41A, 0x1D433, 1 },
717
+ { 0x1D44E, 0x1D454, 1 },
718
+ { 0x1D456, 0x1D467, 1 },
719
+ { 0x1D482, 0x1D49B, 1 },
720
+ { 0x1D4B6, 0x1D4B9, 1 },
721
+ { 0x1D4BB, 0x1D4BD, 2 },
722
+ { 0x1D4BE, 0x1D4C3, 1 },
723
+ { 0x1D4C5, 0x1D4CF, 1 },
724
+ { 0x1D4EA, 0x1D503, 1 },
725
+ { 0x1D51E, 0x1D537, 1 },
726
+ { 0x1D552, 0x1D56B, 1 },
727
+ { 0x1D586, 0x1D59F, 1 },
728
+ { 0x1D5BA, 0x1D5D3, 1 },
729
+ { 0x1D5EE, 0x1D607, 1 },
730
+ { 0x1D622, 0x1D63B, 1 },
731
+ { 0x1D656, 0x1D66F, 1 },
732
+ { 0x1D68A, 0x1D6A5, 1 },
733
+ { 0x1D6C2, 0x1D6DA, 1 },
734
+ { 0x1D6DC, 0x1D6E1, 1 },
735
+ { 0x1D6FC, 0x1D714, 1 },
736
+ { 0x1D716, 0x1D71B, 1 },
737
+ { 0x1D736, 0x1D74E, 1 },
738
+ { 0x1D750, 0x1D755, 1 },
739
+ { 0x1D770, 0x1D788, 1 },
740
+ { 0x1D78A, 0x1D78F, 1 },
741
+ { 0x1D7AA, 0x1D7C2, 1 },
742
+ { 0x1D7C4, 0x1D7C9, 1 },
743
+ { 0x1D7CB, 0x1D7CB, 1 },
744
+ };
745
+
746
+ static struct range_table upper_table[] = {
747
+ { 0x41, 0x5A, 1 },
748
+ { 0xC0, 0xD6, 1 },
749
+ { 0xD8, 0xDE, 1 },
750
+ { 0x100, 0x136, 2 },
751
+ { 0x139, 0x147, 2 },
752
+ { 0x14A, 0x178, 2 },
753
+ { 0x179, 0x17D, 2 },
754
+ { 0x181, 0x182, 1 },
755
+ { 0x184, 0x186, 2 },
756
+ { 0x187, 0x189, 2 },
757
+ { 0x18A, 0x18B, 1 },
758
+ { 0x18E, 0x191, 1 },
759
+ { 0x193, 0x194, 1 },
760
+ { 0x196, 0x198, 1 },
761
+ { 0x19C, 0x19D, 1 },
762
+ { 0x19F, 0x1A0, 1 },
763
+ { 0x1A2, 0x1A6, 2 },
764
+ { 0x1A7, 0x1A9, 2 },
765
+ { 0x1AC, 0x1AE, 2 },
766
+ { 0x1AF, 0x1B1, 2 },
767
+ { 0x1B2, 0x1B3, 1 },
768
+ { 0x1B5, 0x1B7, 2 },
769
+ { 0x1B8, 0x1BC, 4 },
770
+ { 0x1C4, 0x1CD, 3 },
771
+ { 0x1CF, 0x1DB, 2 },
772
+ { 0x1DE, 0x1EE, 2 },
773
+ { 0x1F1, 0x1F4, 3 },
774
+ { 0x1F6, 0x1F8, 1 },
775
+ { 0x1FA, 0x232, 2 },
776
+ { 0x23A, 0x23B, 1 },
777
+ { 0x23D, 0x23E, 1 },
778
+ { 0x241, 0x243, 2 },
779
+ { 0x244, 0x246, 1 },
780
+ { 0x248, 0x24E, 2 },
781
+ { 0x370, 0x372, 2 },
782
+ { 0x376, 0x37F, 9 },
783
+ { 0x386, 0x388, 2 },
784
+ { 0x389, 0x38A, 1 },
785
+ { 0x38C, 0x38E, 2 },
786
+ { 0x38F, 0x391, 2 },
787
+ { 0x392, 0x3A1, 1 },
788
+ { 0x3A3, 0x3AB, 1 },
789
+ { 0x3CF, 0x3D2, 3 },
790
+ { 0x3D3, 0x3D4, 1 },
791
+ { 0x3D8, 0x3EE, 2 },
792
+ { 0x3F4, 0x3F7, 3 },
793
+ { 0x3F9, 0x3FA, 1 },
794
+ { 0x3FD, 0x42F, 1 },
795
+ { 0x460, 0x480, 2 },
796
+ { 0x48A, 0x4C0, 2 },
797
+ { 0x4C1, 0x4CD, 2 },
798
+ { 0x4D0, 0x52E, 2 },
799
+ { 0x531, 0x556, 1 },
800
+ { 0x10A0, 0x10C5, 1 },
801
+ { 0x10C7, 0x10CD, 6 },
802
+ { 0x1E00, 0x1E94, 2 },
803
+ { 0x1E9E, 0x1EFE, 2 },
804
+ { 0x1F08, 0x1F0F, 1 },
805
+ { 0x1F18, 0x1F1D, 1 },
806
+ { 0x1F28, 0x1F2F, 1 },
807
+ { 0x1F38, 0x1F3F, 1 },
808
+ { 0x1F48, 0x1F4D, 1 },
809
+ { 0x1F59, 0x1F5F, 2 },
810
+ { 0x1F68, 0x1F6F, 1 },
811
+ { 0x1FB8, 0x1FBB, 1 },
812
+ { 0x1FC8, 0x1FCB, 1 },
813
+ { 0x1FD8, 0x1FDB, 1 },
814
+ { 0x1FE8, 0x1FEC, 1 },
815
+ { 0x1FF8, 0x1FFB, 1 },
816
+ { 0x2102, 0x2107, 5 },
817
+ { 0x210B, 0x210D, 1 },
818
+ { 0x2110, 0x2112, 1 },
819
+ { 0x2115, 0x2119, 4 },
820
+ { 0x211A, 0x211D, 1 },
821
+ { 0x2124, 0x212A, 2 },
822
+ { 0x212B, 0x212D, 1 },
823
+ { 0x2130, 0x2133, 1 },
824
+ { 0x213E, 0x213F, 1 },
825
+ { 0x2145, 0x2160, 27 },
826
+ { 0x2161, 0x216F, 1 },
827
+ { 0x2183, 0x24B6, 819 },
828
+ { 0x24B7, 0x24CF, 1 },
829
+ { 0x2C00, 0x2C2E, 1 },
830
+ { 0x2C60, 0x2C62, 2 },
831
+ { 0x2C63, 0x2C64, 1 },
832
+ { 0x2C67, 0x2C6D, 2 },
833
+ { 0x2C6E, 0x2C70, 1 },
834
+ { 0x2C72, 0x2C75, 3 },
835
+ { 0x2C7E, 0x2C80, 1 },
836
+ { 0x2C82, 0x2CE2, 2 },
837
+ { 0x2CEB, 0x2CED, 2 },
838
+ { 0x2CF2, 0xA640, 31054 },
839
+ { 0xA642, 0xA66C, 2 },
840
+ { 0xA680, 0xA69A, 2 },
841
+ { 0xA722, 0xA72E, 2 },
842
+ { 0xA732, 0xA76E, 2 },
843
+ { 0xA779, 0xA77D, 2 },
844
+ { 0xA77E, 0xA786, 2 },
845
+ { 0xA78B, 0xA78D, 2 },
846
+ { 0xA790, 0xA792, 2 },
847
+ { 0xA796, 0xA7AA, 2 },
848
+ { 0xA7AB, 0xA7AD, 1 },
849
+ { 0xA7B0, 0xA7B1, 1 },
850
+ { 0xFF21, 0xFF3A, 1 },
851
+ { 0x10400, 0x10427, 1 },
852
+ { 0x118A0, 0x118BF, 1 },
853
+ { 0x1D400, 0x1D419, 1 },
854
+ { 0x1D434, 0x1D44D, 1 },
855
+ { 0x1D468, 0x1D481, 1 },
856
+ { 0x1D49C, 0x1D49E, 2 },
857
+ { 0x1D49F, 0x1D4A5, 3 },
858
+ { 0x1D4A6, 0x1D4A9, 3 },
859
+ { 0x1D4AA, 0x1D4AC, 1 },
860
+ { 0x1D4AE, 0x1D4B5, 1 },
861
+ { 0x1D4D0, 0x1D4E9, 1 },
862
+ { 0x1D504, 0x1D505, 1 },
863
+ { 0x1D507, 0x1D50A, 1 },
864
+ { 0x1D50D, 0x1D514, 1 },
865
+ { 0x1D516, 0x1D51C, 1 },
866
+ { 0x1D538, 0x1D539, 1 },
867
+ { 0x1D53B, 0x1D53E, 1 },
868
+ { 0x1D540, 0x1D544, 1 },
869
+ { 0x1D546, 0x1D54A, 4 },
870
+ { 0x1D54B, 0x1D550, 1 },
871
+ { 0x1D56C, 0x1D585, 1 },
872
+ { 0x1D5A0, 0x1D5B9, 1 },
873
+ { 0x1D5D4, 0x1D5ED, 1 },
874
+ { 0x1D608, 0x1D621, 1 },
875
+ { 0x1D63C, 0x1D655, 1 },
876
+ { 0x1D670, 0x1D689, 1 },
877
+ { 0x1D6A8, 0x1D6C0, 1 },
878
+ { 0x1D6E2, 0x1D6FA, 1 },
879
+ { 0x1D71C, 0x1D734, 1 },
880
+ { 0x1D756, 0x1D76E, 1 },
881
+ { 0x1D790, 0x1D7A8, 1 },
882
+ { 0x1D7CA, 0x1F130, 6502 },
883
+ { 0x1F131, 0x1F149, 1 },
884
+ { 0x1F150, 0x1F169, 1 },
885
+ { 0x1F170, 0x1F189, 1 },
886
+ };
887
+
888
+ static struct range_table xdigit_table[] = {
889
+ { 0x30, 0x39, 1 },
890
+ { 0x41, 0x46, 1 },
891
+ { 0x61, 0x66, 1 },
892
+ { 0xFF10, 0xFF19, 1 },
893
+ { 0xFF21, 0xFF26, 1 },
894
+ { 0xFF41, 0xFF46, 1 },
895
+ };
896
+
897
+ static struct range_table space_table[] = {
898
+ { 0x9, 0xD, 1 },
899
+ { 0x20, 0x85, 101 },
900
+ { 0xA0, 0x1680, 5600 },
901
+ { 0x2000, 0x200A, 1 },
902
+ { 0x2028, 0x2029, 1 },
903
+ { 0x202F, 0x205F, 48 },
904
+ { 0x3000, 0x3000, 1 },
905
+ };
906
+
907
+ static struct range_table unprintable_table[] = {
908
+ { 0xAD, 0x34F, 674 },
909
+ { 0x61C, 0x115F, 2883 },
910
+ { 0x1160, 0x17B4, 1620 },
911
+ { 0x17B5, 0x180B, 86 },
912
+ { 0x180C, 0x180E, 1 },
913
+ { 0x200B, 0x200F, 1 },
914
+ { 0x202A, 0x202E, 1 },
915
+ { 0x2060, 0x206F, 1 },
916
+ { 0x3164, 0xFE00, 52380 },
917
+ { 0xFE01, 0xFE0F, 1 },
918
+ { 0xFEFF, 0xFFA0, 161 },
919
+ { 0xFFF0, 0xFFF8, 1 },
920
+ { 0x1BCA0, 0x1BCA3, 1 },
921
+ { 0x1D173, 0x1D17A, 1 },
922
+ { 0xE0000, 0xE0FFF, 1 },
923
+ };
924
+
925
+ static struct range_table graph_table[] = {
926
+ { 0x20, 0x7E, 1 },
927
+ { 0xA0, 0xAC, 1 },
928
+ { 0xAE, 0x2FF, 1 },
929
+ { 0x370, 0x377, 1 },
930
+ { 0x37A, 0x37F, 1 },
931
+ { 0x384, 0x38A, 1 },
932
+ { 0x38C, 0x38E, 2 },
933
+ { 0x38F, 0x3A1, 1 },
934
+ { 0x3A3, 0x482, 1 },
935
+ { 0x48A, 0x52F, 1 },
936
+ { 0x531, 0x556, 1 },
937
+ { 0x559, 0x55F, 1 },
938
+ { 0x561, 0x587, 1 },
939
+ { 0x589, 0x58A, 1 },
940
+ { 0x58D, 0x58F, 1 },
941
+ { 0x5BE, 0x5C0, 2 },
942
+ { 0x5C3, 0x5C6, 3 },
943
+ { 0x5D0, 0x5EA, 1 },
944
+ { 0x5F0, 0x5F4, 1 },
945
+ { 0x606, 0x60F, 1 },
946
+ { 0x61B, 0x61E, 3 },
947
+ { 0x61F, 0x64A, 1 },
948
+ { 0x660, 0x66F, 1 },
949
+ { 0x671, 0x6D5, 1 },
950
+ { 0x6DE, 0x6E5, 7 },
951
+ { 0x6E6, 0x6E9, 3 },
952
+ { 0x6EE, 0x70D, 1 },
953
+ { 0x710, 0x712, 2 },
954
+ { 0x713, 0x72F, 1 },
955
+ { 0x74D, 0x7A5, 1 },
956
+ { 0x7B1, 0x7C0, 15 },
957
+ { 0x7C1, 0x7EA, 1 },
958
+ { 0x7F4, 0x7FA, 1 },
959
+ { 0x800, 0x815, 1 },
960
+ { 0x81A, 0x824, 10 },
961
+ { 0x828, 0x830, 8 },
962
+ { 0x831, 0x83E, 1 },
963
+ { 0x840, 0x858, 1 },
964
+ { 0x85E, 0x8A0, 66 },
965
+ { 0x8A1, 0x8B2, 1 },
966
+ { 0x903, 0x939, 1 },
967
+ { 0x93B, 0x93D, 2 },
968
+ { 0x93E, 0x940, 1 },
969
+ { 0x949, 0x94C, 1 },
970
+ { 0x94E, 0x950, 1 },
971
+ { 0x958, 0x961, 1 },
972
+ { 0x964, 0x980, 1 },
973
+ { 0x982, 0x983, 1 },
974
+ { 0x985, 0x98C, 1 },
975
+ { 0x98F, 0x990, 1 },
976
+ { 0x993, 0x9A8, 1 },
977
+ { 0x9AA, 0x9B0, 1 },
978
+ { 0x9B2, 0x9B6, 4 },
979
+ { 0x9B7, 0x9B9, 1 },
980
+ { 0x9BD, 0x9BF, 2 },
981
+ { 0x9C0, 0x9C7, 7 },
982
+ { 0x9C8, 0x9CB, 3 },
983
+ { 0x9CC, 0x9CE, 2 },
984
+ { 0x9DC, 0x9DD, 1 },
985
+ { 0x9DF, 0x9E1, 1 },
986
+ { 0x9E6, 0x9FB, 1 },
987
+ { 0xA03, 0xA05, 2 },
988
+ { 0xA06, 0xA0A, 1 },
989
+ { 0xA0F, 0xA10, 1 },
990
+ { 0xA13, 0xA28, 1 },
991
+ { 0xA2A, 0xA30, 1 },
992
+ { 0xA32, 0xA33, 1 },
993
+ { 0xA35, 0xA36, 1 },
994
+ { 0xA38, 0xA39, 1 },
995
+ { 0xA3E, 0xA40, 1 },
996
+ { 0xA59, 0xA5C, 1 },
997
+ { 0xA5E, 0xA66, 8 },
998
+ { 0xA67, 0xA6F, 1 },
999
+ { 0xA72, 0xA74, 1 },
1000
+ { 0xA83, 0xA85, 2 },
1001
+ { 0xA86, 0xA8D, 1 },
1002
+ { 0xA8F, 0xA91, 1 },
1003
+ { 0xA93, 0xAA8, 1 },
1004
+ { 0xAAA, 0xAB0, 1 },
1005
+ { 0xAB2, 0xAB3, 1 },
1006
+ { 0xAB5, 0xAB9, 1 },
1007
+ { 0xABD, 0xAC0, 1 },
1008
+ { 0xAC9, 0xACB, 2 },
1009
+ { 0xACC, 0xAD0, 4 },
1010
+ { 0xAE0, 0xAE1, 1 },
1011
+ { 0xAE6, 0xAF1, 1 },
1012
+ { 0xB02, 0xB03, 1 },
1013
+ { 0xB05, 0xB0C, 1 },
1014
+ { 0xB0F, 0xB10, 1 },
1015
+ { 0xB13, 0xB28, 1 },
1016
+ { 0xB2A, 0xB30, 1 },
1017
+ { 0xB32, 0xB33, 1 },
1018
+ { 0xB35, 0xB39, 1 },
1019
+ { 0xB3D, 0xB40, 3 },
1020
+ { 0xB47, 0xB48, 1 },
1021
+ { 0xB4B, 0xB4C, 1 },
1022
+ { 0xB5C, 0xB5D, 1 },
1023
+ { 0xB5F, 0xB61, 1 },
1024
+ { 0xB66, 0xB77, 1 },
1025
+ { 0xB83, 0xB85, 2 },
1026
+ { 0xB86, 0xB8A, 1 },
1027
+ { 0xB8E, 0xB90, 1 },
1028
+ { 0xB92, 0xB95, 1 },
1029
+ { 0xB99, 0xB9A, 1 },
1030
+ { 0xB9C, 0xB9E, 2 },
1031
+ { 0xB9F, 0xBA3, 4 },
1032
+ { 0xBA4, 0xBA8, 4 },
1033
+ { 0xBA9, 0xBAA, 1 },
1034
+ { 0xBAE, 0xBB9, 1 },
1035
+ { 0xBBF, 0xBC1, 2 },
1036
+ { 0xBC2, 0xBC6, 4 },
1037
+ { 0xBC7, 0xBC8, 1 },
1038
+ { 0xBCA, 0xBCC, 1 },
1039
+ { 0xBD0, 0xBE6, 22 },
1040
+ { 0xBE7, 0xBFA, 1 },
1041
+ { 0xC01, 0xC03, 1 },
1042
+ { 0xC05, 0xC0C, 1 },
1043
+ { 0xC0E, 0xC10, 1 },
1044
+ { 0xC12, 0xC28, 1 },
1045
+ { 0xC2A, 0xC39, 1 },
1046
+ { 0xC3D, 0xC41, 4 },
1047
+ { 0xC42, 0xC44, 1 },
1048
+ { 0xC58, 0xC59, 1 },
1049
+ { 0xC60, 0xC61, 1 },
1050
+ { 0xC66, 0xC6F, 1 },
1051
+ { 0xC78, 0xC7F, 1 },
1052
+ { 0xC82, 0xC83, 1 },
1053
+ { 0xC85, 0xC8C, 1 },
1054
+ { 0xC8E, 0xC90, 1 },
1055
+ { 0xC92, 0xCA8, 1 },
1056
+ { 0xCAA, 0xCB3, 1 },
1057
+ { 0xCB5, 0xCB9, 1 },
1058
+ { 0xCBD, 0xCBE, 1 },
1059
+ { 0xCC0, 0xCC1, 1 },
1060
+ { 0xCC3, 0xCC4, 1 },
1061
+ { 0xCC7, 0xCC8, 1 },
1062
+ { 0xCCA, 0xCCB, 1 },
1063
+ { 0xCDE, 0xCE0, 2 },
1064
+ { 0xCE1, 0xCE6, 5 },
1065
+ { 0xCE7, 0xCEF, 1 },
1066
+ { 0xCF1, 0xCF2, 1 },
1067
+ { 0xD02, 0xD03, 1 },
1068
+ { 0xD05, 0xD0C, 1 },
1069
+ { 0xD0E, 0xD10, 1 },
1070
+ { 0xD12, 0xD3A, 1 },
1071
+ { 0xD3D, 0xD3F, 2 },
1072
+ { 0xD40, 0xD46, 6 },
1073
+ { 0xD47, 0xD48, 1 },
1074
+ { 0xD4A, 0xD4C, 1 },
1075
+ { 0xD4E, 0xD60, 18 },
1076
+ { 0xD61, 0xD66, 5 },
1077
+ { 0xD67, 0xD75, 1 },
1078
+ { 0xD79, 0xD7F, 1 },
1079
+ { 0xD82, 0xD83, 1 },
1080
+ { 0xD85, 0xD96, 1 },
1081
+ { 0xD9A, 0xDB1, 1 },
1082
+ { 0xDB3, 0xDBB, 1 },
1083
+ { 0xDBD, 0xDC0, 3 },
1084
+ { 0xDC1, 0xDC6, 1 },
1085
+ { 0xDD0, 0xDD1, 1 },
1086
+ { 0xDD8, 0xDDE, 1 },
1087
+ { 0xDE6, 0xDEF, 1 },
1088
+ { 0xDF2, 0xDF4, 1 },
1089
+ { 0xE01, 0xE30, 1 },
1090
+ { 0xE32, 0xE33, 1 },
1091
+ { 0xE3F, 0xE46, 1 },
1092
+ { 0xE4F, 0xE5B, 1 },
1093
+ { 0xE81, 0xE82, 1 },
1094
+ { 0xE84, 0xE87, 3 },
1095
+ { 0xE88, 0xE8A, 2 },
1096
+ { 0xE8D, 0xE94, 7 },
1097
+ { 0xE95, 0xE97, 1 },
1098
+ { 0xE99, 0xE9F, 1 },
1099
+ { 0xEA1, 0xEA3, 1 },
1100
+ { 0xEA5, 0xEA7, 2 },
1101
+ { 0xEAA, 0xEAB, 1 },
1102
+ { 0xEAD, 0xEB0, 1 },
1103
+ { 0xEB2, 0xEB3, 1 },
1104
+ { 0xEBD, 0xEC0, 3 },
1105
+ { 0xEC1, 0xEC4, 1 },
1106
+ { 0xEC6, 0xED0, 10 },
1107
+ { 0xED1, 0xED9, 1 },
1108
+ { 0xEDC, 0xEDF, 1 },
1109
+ { 0xF00, 0xF17, 1 },
1110
+ { 0xF1A, 0xF34, 1 },
1111
+ { 0xF36, 0xF3A, 2 },
1112
+ { 0xF3B, 0xF47, 1 },
1113
+ { 0xF49, 0xF6C, 1 },
1114
+ { 0xF7F, 0xF85, 6 },
1115
+ { 0xF88, 0xF8C, 1 },
1116
+ { 0xFBE, 0xFC5, 1 },
1117
+ { 0xFC7, 0xFCC, 1 },
1118
+ { 0xFCE, 0xFDA, 1 },
1119
+ { 0x1000, 0x102C, 1 },
1120
+ { 0x1031, 0x1038, 7 },
1121
+ { 0x103B, 0x103C, 1 },
1122
+ { 0x103F, 0x1057, 1 },
1123
+ { 0x105A, 0x105D, 1 },
1124
+ { 0x1061, 0x1070, 1 },
1125
+ { 0x1075, 0x1081, 1 },
1126
+ { 0x1083, 0x1084, 1 },
1127
+ { 0x1087, 0x108C, 1 },
1128
+ { 0x108E, 0x109C, 1 },
1129
+ { 0x109E, 0x10C5, 1 },
1130
+ { 0x10C7, 0x10CD, 6 },
1131
+ { 0x10D0, 0x1248, 1 },
1132
+ { 0x124A, 0x124D, 1 },
1133
+ { 0x1250, 0x1256, 1 },
1134
+ { 0x1258, 0x125A, 2 },
1135
+ { 0x125B, 0x125D, 1 },
1136
+ { 0x1260, 0x1288, 1 },
1137
+ { 0x128A, 0x128D, 1 },
1138
+ { 0x1290, 0x12B0, 1 },
1139
+ { 0x12B2, 0x12B5, 1 },
1140
+ { 0x12B8, 0x12BE, 1 },
1141
+ { 0x12C0, 0x12C2, 2 },
1142
+ { 0x12C3, 0x12C5, 1 },
1143
+ { 0x12C8, 0x12D6, 1 },
1144
+ { 0x12D8, 0x1310, 1 },
1145
+ { 0x1312, 0x1315, 1 },
1146
+ { 0x1318, 0x135A, 1 },
1147
+ { 0x1360, 0x137C, 1 },
1148
+ { 0x1380, 0x1399, 1 },
1149
+ { 0x13A0, 0x13F4, 1 },
1150
+ { 0x1400, 0x169C, 1 },
1151
+ { 0x16A0, 0x16F8, 1 },
1152
+ { 0x1700, 0x170C, 1 },
1153
+ { 0x170E, 0x1711, 1 },
1154
+ { 0x1720, 0x1731, 1 },
1155
+ { 0x1735, 0x1736, 1 },
1156
+ { 0x1740, 0x1751, 1 },
1157
+ { 0x1760, 0x176C, 1 },
1158
+ { 0x176E, 0x1770, 1 },
1159
+ { 0x1780, 0x17B3, 1 },
1160
+ { 0x17B6, 0x17BE, 8 },
1161
+ { 0x17BF, 0x17C5, 1 },
1162
+ { 0x17C7, 0x17C8, 1 },
1163
+ { 0x17D4, 0x17DC, 1 },
1164
+ { 0x17E0, 0x17E9, 1 },
1165
+ { 0x17F0, 0x17F9, 1 },
1166
+ { 0x1800, 0x180A, 1 },
1167
+ { 0x1810, 0x1819, 1 },
1168
+ { 0x1820, 0x1877, 1 },
1169
+ { 0x1880, 0x18A8, 1 },
1170
+ { 0x18AA, 0x18B0, 6 },
1171
+ { 0x18B1, 0x18F5, 1 },
1172
+ { 0x1900, 0x191E, 1 },
1173
+ { 0x1923, 0x1926, 1 },
1174
+ { 0x1929, 0x192B, 1 },
1175
+ { 0x1930, 0x1931, 1 },
1176
+ { 0x1933, 0x1938, 1 },
1177
+ { 0x1940, 0x1944, 4 },
1178
+ { 0x1945, 0x196D, 1 },
1179
+ { 0x1970, 0x1974, 1 },
1180
+ { 0x1980, 0x19AB, 1 },
1181
+ { 0x19B0, 0x19C9, 1 },
1182
+ { 0x19D0, 0x19DA, 1 },
1183
+ { 0x19DE, 0x1A16, 1 },
1184
+ { 0x1A19, 0x1A1A, 1 },
1185
+ { 0x1A1E, 0x1A55, 1 },
1186
+ { 0x1A57, 0x1A61, 10 },
1187
+ { 0x1A63, 0x1A64, 1 },
1188
+ { 0x1A6D, 0x1A72, 1 },
1189
+ { 0x1A80, 0x1A89, 1 },
1190
+ { 0x1A90, 0x1A99, 1 },
1191
+ { 0x1AA0, 0x1AAD, 1 },
1192
+ { 0x1B04, 0x1B33, 1 },
1193
+ { 0x1B35, 0x1B3B, 6 },
1194
+ { 0x1B3D, 0x1B41, 1 },
1195
+ { 0x1B43, 0x1B4B, 1 },
1196
+ { 0x1B50, 0x1B6A, 1 },
1197
+ { 0x1B74, 0x1B7C, 1 },
1198
+ { 0x1B82, 0x1BA1, 1 },
1199
+ { 0x1BA6, 0x1BA7, 1 },
1200
+ { 0x1BAA, 0x1BAE, 4 },
1201
+ { 0x1BAF, 0x1BE5, 1 },
1202
+ { 0x1BE7, 0x1BEA, 3 },
1203
+ { 0x1BEB, 0x1BEC, 1 },
1204
+ { 0x1BEE, 0x1BF2, 4 },
1205
+ { 0x1BF3, 0x1BFC, 9 },
1206
+ { 0x1BFD, 0x1C2B, 1 },
1207
+ { 0x1C34, 0x1C35, 1 },
1208
+ { 0x1C3B, 0x1C49, 1 },
1209
+ { 0x1C4D, 0x1C7F, 1 },
1210
+ { 0x1CC0, 0x1CC7, 1 },
1211
+ { 0x1CD3, 0x1CE1, 14 },
1212
+ { 0x1CE9, 0x1CEC, 1 },
1213
+ { 0x1CEE, 0x1CF3, 1 },
1214
+ { 0x1CF5, 0x1CF6, 1 },
1215
+ { 0x1D00, 0x1DBF, 1 },
1216
+ { 0x1E00, 0x1F15, 1 },
1217
+ { 0x1F18, 0x1F1D, 1 },
1218
+ { 0x1F20, 0x1F45, 1 },
1219
+ { 0x1F48, 0x1F4D, 1 },
1220
+ { 0x1F50, 0x1F57, 1 },
1221
+ { 0x1F59, 0x1F5F, 2 },
1222
+ { 0x1F60, 0x1F7D, 1 },
1223
+ { 0x1F80, 0x1FB4, 1 },
1224
+ { 0x1FB6, 0x1FC4, 1 },
1225
+ { 0x1FC6, 0x1FD3, 1 },
1226
+ { 0x1FD6, 0x1FDB, 1 },
1227
+ { 0x1FDD, 0x1FEF, 1 },
1228
+ { 0x1FF2, 0x1FF4, 1 },
1229
+ { 0x1FF6, 0x1FFE, 1 },
1230
+ { 0x2000, 0x200A, 1 },
1231
+ { 0x2010, 0x2027, 1 },
1232
+ { 0x202F, 0x205F, 1 },
1233
+ { 0x2070, 0x2071, 1 },
1234
+ { 0x2074, 0x208E, 1 },
1235
+ { 0x2090, 0x209C, 1 },
1236
+ { 0x20A0, 0x20BD, 1 },
1237
+ { 0x2100, 0x2189, 1 },
1238
+ { 0x2190, 0x23FA, 1 },
1239
+ { 0x2400, 0x2426, 1 },
1240
+ { 0x2440, 0x244A, 1 },
1241
+ { 0x2460, 0x2B73, 1 },
1242
+ { 0x2B76, 0x2B95, 1 },
1243
+ { 0x2B98, 0x2BB9, 1 },
1244
+ { 0x2BBD, 0x2BC8, 1 },
1245
+ { 0x2BCA, 0x2BD1, 1 },
1246
+ { 0x2C00, 0x2C2E, 1 },
1247
+ { 0x2C30, 0x2C5E, 1 },
1248
+ { 0x2C60, 0x2CEE, 1 },
1249
+ { 0x2CF2, 0x2CF3, 1 },
1250
+ { 0x2CF9, 0x2D25, 1 },
1251
+ { 0x2D27, 0x2D2D, 6 },
1252
+ { 0x2D30, 0x2D67, 1 },
1253
+ { 0x2D6F, 0x2D70, 1 },
1254
+ { 0x2D80, 0x2D96, 1 },
1255
+ { 0x2DA0, 0x2DA6, 1 },
1256
+ { 0x2DA8, 0x2DAE, 1 },
1257
+ { 0x2DB0, 0x2DB6, 1 },
1258
+ { 0x2DB8, 0x2DBE, 1 },
1259
+ { 0x2DC0, 0x2DC6, 1 },
1260
+ { 0x2DC8, 0x2DCE, 1 },
1261
+ { 0x2DD0, 0x2DD6, 1 },
1262
+ { 0x2DD8, 0x2DDE, 1 },
1263
+ { 0x2E00, 0x2E42, 1 },
1264
+ { 0x2E80, 0x2E99, 1 },
1265
+ { 0x2E9B, 0x2EF3, 1 },
1266
+ { 0x2F00, 0x2FD5, 1 },
1267
+ { 0x2FF0, 0x2FFB, 1 },
1268
+ { 0x3000, 0x3029, 1 },
1269
+ { 0x3030, 0x303F, 1 },
1270
+ { 0x3041, 0x3096, 1 },
1271
+ { 0x309B, 0x30FF, 1 },
1272
+ { 0x3105, 0x312D, 1 },
1273
+ { 0x3131, 0x318E, 1 },
1274
+ { 0x3190, 0x31BA, 1 },
1275
+ { 0x31C0, 0x31E3, 1 },
1276
+ { 0x31F0, 0x321E, 1 },
1277
+ { 0x3220, 0x32FE, 1 },
1278
+ { 0x3300, 0x4DB5, 1 },
1279
+ { 0x4DC0, 0x9FCC, 1 },
1280
+ { 0xA000, 0xA48C, 1 },
1281
+ { 0xA490, 0xA4C6, 1 },
1282
+ { 0xA4D0, 0xA62B, 1 },
1283
+ { 0xA640, 0xA66E, 1 },
1284
+ { 0xA673, 0xA67E, 11 },
1285
+ { 0xA67F, 0xA69D, 1 },
1286
+ { 0xA6A0, 0xA6EF, 1 },
1287
+ { 0xA6F2, 0xA6F7, 1 },
1288
+ { 0xA700, 0xA78E, 1 },
1289
+ { 0xA790, 0xA7AD, 1 },
1290
+ { 0xA7B0, 0xA7B1, 1 },
1291
+ { 0xA7F7, 0xA801, 1 },
1292
+ { 0xA803, 0xA805, 1 },
1293
+ { 0xA807, 0xA80A, 1 },
1294
+ { 0xA80C, 0xA824, 1 },
1295
+ { 0xA827, 0xA82B, 1 },
1296
+ { 0xA830, 0xA839, 1 },
1297
+ { 0xA840, 0xA877, 1 },
1298
+ { 0xA880, 0xA8C3, 1 },
1299
+ { 0xA8CE, 0xA8D9, 1 },
1300
+ { 0xA8F2, 0xA8FB, 1 },
1301
+ { 0xA900, 0xA925, 1 },
1302
+ { 0xA92E, 0xA946, 1 },
1303
+ { 0xA952, 0xA953, 1 },
1304
+ { 0xA95F, 0xA97C, 1 },
1305
+ { 0xA983, 0xA9B2, 1 },
1306
+ { 0xA9B4, 0xA9B5, 1 },
1307
+ { 0xA9BA, 0xA9BB, 1 },
1308
+ { 0xA9BD, 0xA9CD, 1 },
1309
+ { 0xA9CF, 0xA9D9, 1 },
1310
+ { 0xA9DE, 0xA9E4, 1 },
1311
+ { 0xA9E6, 0xA9FE, 1 },
1312
+ { 0xAA00, 0xAA28, 1 },
1313
+ { 0xAA2F, 0xAA30, 1 },
1314
+ { 0xAA33, 0xAA34, 1 },
1315
+ { 0xAA40, 0xAA42, 1 },
1316
+ { 0xAA44, 0xAA4B, 1 },
1317
+ { 0xAA4D, 0xAA50, 3 },
1318
+ { 0xAA51, 0xAA59, 1 },
1319
+ { 0xAA5C, 0xAA7B, 1 },
1320
+ { 0xAA7D, 0xAAAF, 1 },
1321
+ { 0xAAB1, 0xAAB5, 4 },
1322
+ { 0xAAB6, 0xAAB9, 3 },
1323
+ { 0xAABA, 0xAABD, 1 },
1324
+ { 0xAAC0, 0xAAC2, 2 },
1325
+ { 0xAADB, 0xAAEB, 1 },
1326
+ { 0xAAEE, 0xAAF5, 1 },
1327
+ { 0xAB01, 0xAB06, 1 },
1328
+ { 0xAB09, 0xAB0E, 1 },
1329
+ { 0xAB11, 0xAB16, 1 },
1330
+ { 0xAB20, 0xAB26, 1 },
1331
+ { 0xAB28, 0xAB2E, 1 },
1332
+ { 0xAB30, 0xAB5F, 1 },
1333
+ { 0xAB64, 0xAB65, 1 },
1334
+ { 0xABC0, 0xABE4, 1 },
1335
+ { 0xABE6, 0xABE7, 1 },
1336
+ { 0xABE9, 0xABEC, 1 },
1337
+ { 0xABF0, 0xABF9, 1 },
1338
+ { 0xAC00, 0xD7A3, 1 },
1339
+ { 0xD7B0, 0xD7C6, 1 },
1340
+ { 0xD7CB, 0xD7FB, 1 },
1341
+ { 0xF900, 0xFA6D, 1 },
1342
+ { 0xFA70, 0xFAD9, 1 },
1343
+ { 0xFB00, 0xFB06, 1 },
1344
+ { 0xFB13, 0xFB17, 1 },
1345
+ { 0xFB1D, 0xFB1F, 2 },
1346
+ { 0xFB20, 0xFB36, 1 },
1347
+ { 0xFB38, 0xFB3C, 1 },
1348
+ { 0xFB3E, 0xFB40, 2 },
1349
+ { 0xFB41, 0xFB43, 2 },
1350
+ { 0xFB44, 0xFB46, 2 },
1351
+ { 0xFB47, 0xFBC1, 1 },
1352
+ { 0xFBD3, 0xFD3F, 1 },
1353
+ { 0xFD50, 0xFD8F, 1 },
1354
+ { 0xFD92, 0xFDC7, 1 },
1355
+ { 0xFDF0, 0xFDFD, 1 },
1356
+ { 0xFE10, 0xFE19, 1 },
1357
+ { 0xFE30, 0xFE52, 1 },
1358
+ { 0xFE54, 0xFE66, 1 },
1359
+ { 0xFE68, 0xFE6B, 1 },
1360
+ { 0xFE70, 0xFE74, 1 },
1361
+ { 0xFE76, 0xFEFC, 1 },
1362
+ { 0xFF01, 0xFF9D, 1 },
1363
+ { 0xFFA0, 0xFFBE, 1 },
1364
+ { 0xFFC2, 0xFFC7, 1 },
1365
+ { 0xFFCA, 0xFFCF, 1 },
1366
+ { 0xFFD2, 0xFFD7, 1 },
1367
+ { 0xFFDA, 0xFFDC, 1 },
1368
+ { 0xFFE0, 0xFFE6, 1 },
1369
+ { 0xFFE8, 0xFFEE, 1 },
1370
+ { 0xFFFC, 0xFFFD, 1 },
1371
+ { 0x10000, 0x1000B, 1 },
1372
+ { 0x1000D, 0x10026, 1 },
1373
+ { 0x10028, 0x1003A, 1 },
1374
+ { 0x1003C, 0x1003D, 1 },
1375
+ { 0x1003F, 0x1004D, 1 },
1376
+ { 0x10050, 0x1005D, 1 },
1377
+ { 0x10080, 0x100FA, 1 },
1378
+ { 0x10100, 0x10102, 1 },
1379
+ { 0x10107, 0x10133, 1 },
1380
+ { 0x10137, 0x1018C, 1 },
1381
+ { 0x10190, 0x1019B, 1 },
1382
+ { 0x101A0, 0x101D0, 48 },
1383
+ { 0x101D1, 0x101FC, 1 },
1384
+ { 0x10280, 0x1029C, 1 },
1385
+ { 0x102A0, 0x102D0, 1 },
1386
+ { 0x102E1, 0x102FB, 1 },
1387
+ { 0x10300, 0x10323, 1 },
1388
+ { 0x10330, 0x1034A, 1 },
1389
+ { 0x10350, 0x10375, 1 },
1390
+ { 0x10380, 0x1039D, 1 },
1391
+ { 0x1039F, 0x103C3, 1 },
1392
+ { 0x103C8, 0x103D5, 1 },
1393
+ { 0x10400, 0x1049D, 1 },
1394
+ { 0x104A0, 0x104A9, 1 },
1395
+ { 0x10500, 0x10527, 1 },
1396
+ { 0x10530, 0x10563, 1 },
1397
+ { 0x1056F, 0x10600, 145 },
1398
+ { 0x10601, 0x10736, 1 },
1399
+ { 0x10740, 0x10755, 1 },
1400
+ { 0x10760, 0x10767, 1 },
1401
+ { 0x10800, 0x10805, 1 },
1402
+ { 0x10808, 0x1080A, 2 },
1403
+ { 0x1080B, 0x10835, 1 },
1404
+ { 0x10837, 0x10838, 1 },
1405
+ { 0x1083C, 0x1083F, 3 },
1406
+ { 0x10840, 0x10855, 1 },
1407
+ { 0x10857, 0x1089E, 1 },
1408
+ { 0x108A7, 0x108AF, 1 },
1409
+ { 0x10900, 0x1091B, 1 },
1410
+ { 0x1091F, 0x10939, 1 },
1411
+ { 0x1093F, 0x10980, 65 },
1412
+ { 0x10981, 0x109B7, 1 },
1413
+ { 0x109BE, 0x109BF, 1 },
1414
+ { 0x10A00, 0x10A10, 16 },
1415
+ { 0x10A11, 0x10A13, 1 },
1416
+ { 0x10A15, 0x10A17, 1 },
1417
+ { 0x10A19, 0x10A33, 1 },
1418
+ { 0x10A40, 0x10A47, 1 },
1419
+ { 0x10A50, 0x10A58, 1 },
1420
+ { 0x10A60, 0x10A9F, 1 },
1421
+ { 0x10AC0, 0x10AE4, 1 },
1422
+ { 0x10AEB, 0x10AF6, 1 },
1423
+ { 0x10B00, 0x10B35, 1 },
1424
+ { 0x10B39, 0x10B55, 1 },
1425
+ { 0x10B58, 0x10B72, 1 },
1426
+ { 0x10B78, 0x10B91, 1 },
1427
+ { 0x10B99, 0x10B9C, 1 },
1428
+ { 0x10BA9, 0x10BAF, 1 },
1429
+ { 0x10C00, 0x10C48, 1 },
1430
+ { 0x10E60, 0x10E7E, 1 },
1431
+ { 0x11000, 0x11002, 2 },
1432
+ { 0x11003, 0x11037, 1 },
1433
+ { 0x11047, 0x1104D, 1 },
1434
+ { 0x11052, 0x1106F, 1 },
1435
+ { 0x11082, 0x110B2, 1 },
1436
+ { 0x110B7, 0x110B8, 1 },
1437
+ { 0x110BB, 0x110BC, 1 },
1438
+ { 0x110BE, 0x110C1, 1 },
1439
+ { 0x110D0, 0x110E8, 1 },
1440
+ { 0x110F0, 0x110F9, 1 },
1441
+ { 0x11103, 0x11126, 1 },
1442
+ { 0x1112C, 0x11136, 10 },
1443
+ { 0x11137, 0x11143, 1 },
1444
+ { 0x11150, 0x11172, 1 },
1445
+ { 0x11174, 0x11176, 1 },
1446
+ { 0x11182, 0x111B5, 1 },
1447
+ { 0x111BF, 0x111C8, 1 },
1448
+ { 0x111CD, 0x111D0, 3 },
1449
+ { 0x111D1, 0x111DA, 1 },
1450
+ { 0x111E1, 0x111F4, 1 },
1451
+ { 0x11200, 0x11211, 1 },
1452
+ { 0x11213, 0x1122E, 1 },
1453
+ { 0x11232, 0x11233, 1 },
1454
+ { 0x11235, 0x11238, 3 },
1455
+ { 0x11239, 0x1123D, 1 },
1456
+ { 0x112B0, 0x112DE, 1 },
1457
+ { 0x112E0, 0x112E2, 1 },
1458
+ { 0x112F0, 0x112F9, 1 },
1459
+ { 0x11302, 0x11303, 1 },
1460
+ { 0x11305, 0x1130C, 1 },
1461
+ { 0x1130F, 0x11310, 1 },
1462
+ { 0x11313, 0x11328, 1 },
1463
+ { 0x1132A, 0x11330, 1 },
1464
+ { 0x11332, 0x11333, 1 },
1465
+ { 0x11335, 0x11339, 1 },
1466
+ { 0x1133D, 0x11341, 2 },
1467
+ { 0x11342, 0x11344, 1 },
1468
+ { 0x11347, 0x11348, 1 },
1469
+ { 0x1134B, 0x1134D, 1 },
1470
+ { 0x1135D, 0x11363, 1 },
1471
+ { 0x11480, 0x114AF, 1 },
1472
+ { 0x114B1, 0x114B2, 1 },
1473
+ { 0x114B9, 0x114BB, 2 },
1474
+ { 0x114BC, 0x114BE, 2 },
1475
+ { 0x114C1, 0x114C4, 3 },
1476
+ { 0x114C5, 0x114C7, 1 },
1477
+ { 0x114D0, 0x114D9, 1 },
1478
+ { 0x11580, 0x115AE, 1 },
1479
+ { 0x115B0, 0x115B1, 1 },
1480
+ { 0x115B8, 0x115BB, 1 },
1481
+ { 0x115BE, 0x115C1, 3 },
1482
+ { 0x115C2, 0x115C9, 1 },
1483
+ { 0x11600, 0x11632, 1 },
1484
+ { 0x1163B, 0x1163C, 1 },
1485
+ { 0x1163E, 0x11641, 3 },
1486
+ { 0x11642, 0x11644, 1 },
1487
+ { 0x11650, 0x11659, 1 },
1488
+ { 0x11680, 0x116AA, 1 },
1489
+ { 0x116AC, 0x116AE, 2 },
1490
+ { 0x116AF, 0x116B6, 7 },
1491
+ { 0x116C0, 0x116C9, 1 },
1492
+ { 0x118A0, 0x118F2, 1 },
1493
+ { 0x118FF, 0x11AC0, 449 },
1494
+ { 0x11AC1, 0x11AF8, 1 },
1495
+ { 0x12000, 0x12398, 1 },
1496
+ { 0x12400, 0x1246E, 1 },
1497
+ { 0x12470, 0x12474, 1 },
1498
+ { 0x13000, 0x1342E, 1 },
1499
+ { 0x16800, 0x16A38, 1 },
1500
+ { 0x16A40, 0x16A5E, 1 },
1501
+ { 0x16A60, 0x16A69, 1 },
1502
+ { 0x16A6E, 0x16A6F, 1 },
1503
+ { 0x16AD0, 0x16AED, 1 },
1504
+ { 0x16AF5, 0x16B00, 11 },
1505
+ { 0x16B01, 0x16B2F, 1 },
1506
+ { 0x16B37, 0x16B45, 1 },
1507
+ { 0x16B50, 0x16B59, 1 },
1508
+ { 0x16B5B, 0x16B61, 1 },
1509
+ { 0x16B63, 0x16B77, 1 },
1510
+ { 0x16B7D, 0x16B8F, 1 },
1511
+ { 0x16F00, 0x16F44, 1 },
1512
+ { 0x16F50, 0x16F7E, 1 },
1513
+ { 0x16F93, 0x16F9F, 1 },
1514
+ { 0x1B000, 0x1B001, 1 },
1515
+ { 0x1BC00, 0x1BC6A, 1 },
1516
+ { 0x1BC70, 0x1BC7C, 1 },
1517
+ { 0x1BC80, 0x1BC88, 1 },
1518
+ { 0x1BC90, 0x1BC99, 1 },
1519
+ { 0x1BC9C, 0x1BC9F, 3 },
1520
+ { 0x1D000, 0x1D0F5, 1 },
1521
+ { 0x1D100, 0x1D126, 1 },
1522
+ { 0x1D129, 0x1D164, 1 },
1523
+ { 0x1D166, 0x1D16A, 4 },
1524
+ { 0x1D16B, 0x1D16D, 1 },
1525
+ { 0x1D183, 0x1D184, 1 },
1526
+ { 0x1D18C, 0x1D1A9, 1 },
1527
+ { 0x1D1AE, 0x1D1DD, 1 },
1528
+ { 0x1D200, 0x1D241, 1 },
1529
+ { 0x1D245, 0x1D300, 187 },
1530
+ { 0x1D301, 0x1D356, 1 },
1531
+ { 0x1D360, 0x1D371, 1 },
1532
+ { 0x1D400, 0x1D454, 1 },
1533
+ { 0x1D456, 0x1D49C, 1 },
1534
+ { 0x1D49E, 0x1D49F, 1 },
1535
+ { 0x1D4A2, 0x1D4A5, 3 },
1536
+ { 0x1D4A6, 0x1D4A9, 3 },
1537
+ { 0x1D4AA, 0x1D4AC, 1 },
1538
+ { 0x1D4AE, 0x1D4B9, 1 },
1539
+ { 0x1D4BB, 0x1D4BD, 2 },
1540
+ { 0x1D4BE, 0x1D4C3, 1 },
1541
+ { 0x1D4C5, 0x1D505, 1 },
1542
+ { 0x1D507, 0x1D50A, 1 },
1543
+ { 0x1D50D, 0x1D514, 1 },
1544
+ { 0x1D516, 0x1D51C, 1 },
1545
+ { 0x1D51E, 0x1D539, 1 },
1546
+ { 0x1D53B, 0x1D53E, 1 },
1547
+ { 0x1D540, 0x1D544, 1 },
1548
+ { 0x1D546, 0x1D54A, 4 },
1549
+ { 0x1D54B, 0x1D550, 1 },
1550
+ { 0x1D552, 0x1D6A5, 1 },
1551
+ { 0x1D6A8, 0x1D7CB, 1 },
1552
+ { 0x1D7CE, 0x1D7FF, 1 },
1553
+ { 0x1E800, 0x1E8C4, 1 },
1554
+ { 0x1E8C7, 0x1E8CF, 1 },
1555
+ { 0x1EE00, 0x1EE03, 1 },
1556
+ { 0x1EE05, 0x1EE1F, 1 },
1557
+ { 0x1EE21, 0x1EE22, 1 },
1558
+ { 0x1EE24, 0x1EE27, 3 },
1559
+ { 0x1EE29, 0x1EE32, 1 },
1560
+ { 0x1EE34, 0x1EE37, 1 },
1561
+ { 0x1EE39, 0x1EE3B, 2 },
1562
+ { 0x1EE42, 0x1EE47, 5 },
1563
+ { 0x1EE49, 0x1EE4D, 2 },
1564
+ { 0x1EE4E, 0x1EE4F, 1 },
1565
+ { 0x1EE51, 0x1EE52, 1 },
1566
+ { 0x1EE54, 0x1EE57, 3 },
1567
+ { 0x1EE59, 0x1EE61, 2 },
1568
+ { 0x1EE62, 0x1EE64, 2 },
1569
+ { 0x1EE67, 0x1EE6A, 1 },
1570
+ { 0x1EE6C, 0x1EE72, 1 },
1571
+ { 0x1EE74, 0x1EE77, 1 },
1572
+ { 0x1EE79, 0x1EE7C, 1 },
1573
+ { 0x1EE7E, 0x1EE80, 2 },
1574
+ { 0x1EE81, 0x1EE89, 1 },
1575
+ { 0x1EE8B, 0x1EE9B, 1 },
1576
+ { 0x1EEA1, 0x1EEA3, 1 },
1577
+ { 0x1EEA5, 0x1EEA9, 1 },
1578
+ { 0x1EEAB, 0x1EEBB, 1 },
1579
+ { 0x1EEF0, 0x1EEF1, 1 },
1580
+ { 0x1F000, 0x1F02B, 1 },
1581
+ { 0x1F030, 0x1F093, 1 },
1582
+ { 0x1F0A0, 0x1F0AE, 1 },
1583
+ { 0x1F0B1, 0x1F0BF, 1 },
1584
+ { 0x1F0C1, 0x1F0CF, 1 },
1585
+ { 0x1F0D1, 0x1F0F5, 1 },
1586
+ { 0x1F100, 0x1F10C, 1 },
1587
+ { 0x1F110, 0x1F12E, 1 },
1588
+ { 0x1F130, 0x1F16B, 1 },
1589
+ { 0x1F170, 0x1F19A, 1 },
1590
+ { 0x1F1E6, 0x1F202, 1 },
1591
+ { 0x1F210, 0x1F23A, 1 },
1592
+ { 0x1F240, 0x1F248, 1 },
1593
+ { 0x1F250, 0x1F251, 1 },
1594
+ { 0x1F300, 0x1F32C, 1 },
1595
+ { 0x1F330, 0x1F37D, 1 },
1596
+ { 0x1F380, 0x1F3CE, 1 },
1597
+ { 0x1F3D4, 0x1F3F7, 1 },
1598
+ { 0x1F400, 0x1F4FE, 1 },
1599
+ { 0x1F500, 0x1F54A, 1 },
1600
+ { 0x1F550, 0x1F579, 1 },
1601
+ { 0x1F57B, 0x1F5A3, 1 },
1602
+ { 0x1F5A5, 0x1F642, 1 },
1603
+ { 0x1F645, 0x1F6CF, 1 },
1604
+ { 0x1F6E0, 0x1F6EC, 1 },
1605
+ { 0x1F6F0, 0x1F6F3, 1 },
1606
+ { 0x1F700, 0x1F773, 1 },
1607
+ { 0x1F780, 0x1F7D4, 1 },
1608
+ { 0x1F800, 0x1F80B, 1 },
1609
+ { 0x1F810, 0x1F847, 1 },
1610
+ { 0x1F850, 0x1F859, 1 },
1611
+ { 0x1F860, 0x1F887, 1 },
1612
+ { 0x1F890, 0x1F8AD, 1 },
1613
+ { 0x20000, 0x2A6D6, 1 },
1614
+ { 0x2A700, 0x2B734, 1 },
1615
+ { 0x2B740, 0x2B81D, 1 },
1616
+ { 0x2F800, 0x2FA1D, 1 },
1617
+ };
1618
+
1619
+ static struct range_table compose_table[] = {
1620
+ { 0x300, 0x36F, 1 },
1621
+ { 0x483, 0x489, 1 },
1622
+ { 0x591, 0x5BD, 1 },
1623
+ { 0x5BF, 0x5C1, 2 },
1624
+ { 0x5C2, 0x5C4, 2 },
1625
+ { 0x5C5, 0x5C7, 2 },
1626
+ { 0x610, 0x61A, 1 },
1627
+ { 0x64B, 0x65F, 1 },
1628
+ { 0x670, 0x6D6, 102 },
1629
+ { 0x6D7, 0x6DC, 1 },
1630
+ { 0x6DF, 0x6E4, 1 },
1631
+ { 0x6E7, 0x6E8, 1 },
1632
+ { 0x6EA, 0x6ED, 1 },
1633
+ { 0x711, 0x730, 31 },
1634
+ { 0x731, 0x74A, 1 },
1635
+ { 0x7A6, 0x7B0, 1 },
1636
+ { 0x7EB, 0x7F3, 1 },
1637
+ { 0x816, 0x819, 1 },
1638
+ { 0x81B, 0x823, 1 },
1639
+ { 0x825, 0x827, 1 },
1640
+ { 0x829, 0x82D, 1 },
1641
+ { 0x859, 0x85B, 1 },
1642
+ { 0x8E4, 0x902, 1 },
1643
+ { 0x93A, 0x93C, 2 },
1644
+ { 0x941, 0x948, 1 },
1645
+ { 0x94D, 0x951, 4 },
1646
+ { 0x952, 0x957, 1 },
1647
+ { 0x962, 0x963, 1 },
1648
+ { 0x981, 0x9BC, 59 },
1649
+ { 0x9BE, 0x9C1, 3 },
1650
+ { 0x9C2, 0x9C4, 1 },
1651
+ { 0x9CD, 0x9D7, 10 },
1652
+ { 0x9E2, 0x9E3, 1 },
1653
+ { 0xA01, 0xA02, 1 },
1654
+ { 0xA3C, 0xA41, 5 },
1655
+ { 0xA42, 0xA47, 5 },
1656
+ { 0xA48, 0xA4B, 3 },
1657
+ { 0xA4C, 0xA4D, 1 },
1658
+ { 0xA51, 0xA70, 31 },
1659
+ { 0xA71, 0xA75, 4 },
1660
+ { 0xA81, 0xA82, 1 },
1661
+ { 0xABC, 0xAC1, 5 },
1662
+ { 0xAC2, 0xAC5, 1 },
1663
+ { 0xAC7, 0xAC8, 1 },
1664
+ { 0xACD, 0xAE2, 21 },
1665
+ { 0xAE3, 0xB01, 30 },
1666
+ { 0xB3C, 0xB3E, 2 },
1667
+ { 0xB3F, 0xB41, 2 },
1668
+ { 0xB42, 0xB44, 1 },
1669
+ { 0xB4D, 0xB56, 9 },
1670
+ { 0xB57, 0xB62, 11 },
1671
+ { 0xB63, 0xB82, 31 },
1672
+ { 0xBBE, 0xBC0, 2 },
1673
+ { 0xBCD, 0xBD7, 10 },
1674
+ { 0xC00, 0xC3E, 62 },
1675
+ { 0xC3F, 0xC40, 1 },
1676
+ { 0xC46, 0xC48, 1 },
1677
+ { 0xC4A, 0xC4D, 1 },
1678
+ { 0xC55, 0xC56, 1 },
1679
+ { 0xC62, 0xC63, 1 },
1680
+ { 0xC81, 0xCBC, 59 },
1681
+ { 0xCBF, 0xCC2, 3 },
1682
+ { 0xCC6, 0xCCC, 6 },
1683
+ { 0xCCD, 0xCD5, 8 },
1684
+ { 0xCD6, 0xCE2, 12 },
1685
+ { 0xCE3, 0xD01, 30 },
1686
+ { 0xD3E, 0xD41, 3 },
1687
+ { 0xD42, 0xD44, 1 },
1688
+ { 0xD4D, 0xD57, 10 },
1689
+ { 0xD62, 0xD63, 1 },
1690
+ { 0xDCA, 0xDCF, 5 },
1691
+ { 0xDD2, 0xDD4, 1 },
1692
+ { 0xDD6, 0xDDF, 9 },
1693
+ { 0xE31, 0xE34, 3 },
1694
+ { 0xE35, 0xE3A, 1 },
1695
+ { 0xE47, 0xE4E, 1 },
1696
+ { 0xEB1, 0xEB4, 3 },
1697
+ { 0xEB5, 0xEB9, 1 },
1698
+ { 0xEBB, 0xEBC, 1 },
1699
+ { 0xEC8, 0xECD, 1 },
1700
+ { 0xF18, 0xF19, 1 },
1701
+ { 0xF35, 0xF39, 2 },
1702
+ { 0xF71, 0xF7E, 1 },
1703
+ { 0xF80, 0xF84, 1 },
1704
+ { 0xF86, 0xF87, 1 },
1705
+ { 0xF8D, 0xF97, 1 },
1706
+ { 0xF99, 0xFBC, 1 },
1707
+ { 0xFC6, 0x102D, 103 },
1708
+ { 0x102E, 0x1030, 1 },
1709
+ { 0x1032, 0x1037, 1 },
1710
+ { 0x1039, 0x103A, 1 },
1711
+ { 0x103D, 0x103E, 1 },
1712
+ { 0x1058, 0x1059, 1 },
1713
+ { 0x105E, 0x1060, 1 },
1714
+ { 0x1071, 0x1074, 1 },
1715
+ { 0x1082, 0x1085, 3 },
1716
+ { 0x1086, 0x108D, 7 },
1717
+ { 0x109D, 0x135D, 704 },
1718
+ { 0x135E, 0x135F, 1 },
1719
+ { 0x1712, 0x1714, 1 },
1720
+ { 0x1732, 0x1734, 1 },
1721
+ { 0x1752, 0x1753, 1 },
1722
+ { 0x1772, 0x1773, 1 },
1723
+ { 0x17B4, 0x17B5, 1 },
1724
+ { 0x17B7, 0x17BD, 1 },
1725
+ { 0x17C6, 0x17C9, 3 },
1726
+ { 0x17CA, 0x17D3, 1 },
1727
+ { 0x17DD, 0x180B, 46 },
1728
+ { 0x180C, 0x180D, 1 },
1729
+ { 0x18A9, 0x1920, 119 },
1730
+ { 0x1921, 0x1922, 1 },
1731
+ { 0x1927, 0x1928, 1 },
1732
+ { 0x1932, 0x1939, 7 },
1733
+ { 0x193A, 0x193B, 1 },
1734
+ { 0x1A17, 0x1A18, 1 },
1735
+ { 0x1A1B, 0x1A56, 59 },
1736
+ { 0x1A58, 0x1A5E, 1 },
1737
+ { 0x1A60, 0x1A62, 2 },
1738
+ { 0x1A65, 0x1A6C, 1 },
1739
+ { 0x1A73, 0x1A7C, 1 },
1740
+ { 0x1A7F, 0x1AB0, 49 },
1741
+ { 0x1AB1, 0x1ABE, 1 },
1742
+ { 0x1B00, 0x1B03, 1 },
1743
+ { 0x1B34, 0x1B36, 2 },
1744
+ { 0x1B37, 0x1B3A, 1 },
1745
+ { 0x1B3C, 0x1B42, 6 },
1746
+ { 0x1B6B, 0x1B73, 1 },
1747
+ { 0x1B80, 0x1B81, 1 },
1748
+ { 0x1BA2, 0x1BA5, 1 },
1749
+ { 0x1BA8, 0x1BA9, 1 },
1750
+ { 0x1BAB, 0x1BAD, 1 },
1751
+ { 0x1BE6, 0x1BE8, 2 },
1752
+ { 0x1BE9, 0x1BED, 4 },
1753
+ { 0x1BEF, 0x1BF1, 1 },
1754
+ { 0x1C2C, 0x1C33, 1 },
1755
+ { 0x1C36, 0x1C37, 1 },
1756
+ { 0x1CD0, 0x1CD2, 1 },
1757
+ { 0x1CD4, 0x1CE0, 1 },
1758
+ { 0x1CE2, 0x1CE8, 1 },
1759
+ { 0x1CED, 0x1CF4, 7 },
1760
+ { 0x1CF8, 0x1CF9, 1 },
1761
+ { 0x1DC0, 0x1DF5, 1 },
1762
+ { 0x1DFC, 0x1DFF, 1 },
1763
+ { 0x200C, 0x200D, 1 },
1764
+ { 0x20D0, 0x20F0, 1 },
1765
+ { 0x2CEF, 0x2CF1, 1 },
1766
+ { 0x2D7F, 0x2DE0, 97 },
1767
+ { 0x2DE1, 0x2DFF, 1 },
1768
+ { 0x302A, 0x302F, 1 },
1769
+ { 0x3099, 0x309A, 1 },
1770
+ { 0xA66F, 0xA672, 1 },
1771
+ { 0xA674, 0xA67D, 1 },
1772
+ { 0xA69F, 0xA6F0, 81 },
1773
+ { 0xA6F1, 0xA802, 273 },
1774
+ { 0xA806, 0xA80B, 5 },
1775
+ { 0xA825, 0xA826, 1 },
1776
+ { 0xA8C4, 0xA8E0, 28 },
1777
+ { 0xA8E1, 0xA8F1, 1 },
1778
+ { 0xA926, 0xA92D, 1 },
1779
+ { 0xA947, 0xA951, 1 },
1780
+ { 0xA980, 0xA982, 1 },
1781
+ { 0xA9B3, 0xA9B6, 3 },
1782
+ { 0xA9B7, 0xA9B9, 1 },
1783
+ { 0xA9BC, 0xA9E5, 41 },
1784
+ { 0xAA29, 0xAA2E, 1 },
1785
+ { 0xAA31, 0xAA32, 1 },
1786
+ { 0xAA35, 0xAA36, 1 },
1787
+ { 0xAA43, 0xAA4C, 9 },
1788
+ { 0xAA7C, 0xAAB0, 52 },
1789
+ { 0xAAB2, 0xAAB4, 1 },
1790
+ { 0xAAB7, 0xAAB8, 1 },
1791
+ { 0xAABE, 0xAABF, 1 },
1792
+ { 0xAAC1, 0xAAEC, 43 },
1793
+ { 0xAAED, 0xAAF6, 9 },
1794
+ { 0xABE5, 0xABE8, 3 },
1795
+ { 0xABED, 0xFB1E, 20273 },
1796
+ { 0xFE00, 0xFE0F, 1 },
1797
+ { 0xFE20, 0xFE2D, 1 },
1798
+ { 0xFF9E, 0xFF9F, 1 },
1799
+ { 0x101FD, 0x102E0, 227 },
1800
+ { 0x10376, 0x1037A, 1 },
1801
+ { 0x10A01, 0x10A03, 1 },
1802
+ { 0x10A05, 0x10A06, 1 },
1803
+ { 0x10A0C, 0x10A0F, 1 },
1804
+ { 0x10A38, 0x10A3A, 1 },
1805
+ { 0x10A3F, 0x10AE5, 166 },
1806
+ { 0x10AE6, 0x11001, 1307 },
1807
+ { 0x11038, 0x11046, 1 },
1808
+ { 0x1107F, 0x11081, 1 },
1809
+ { 0x110B3, 0x110B6, 1 },
1810
+ { 0x110B9, 0x110BA, 1 },
1811
+ { 0x11100, 0x11102, 1 },
1812
+ { 0x11127, 0x1112B, 1 },
1813
+ { 0x1112D, 0x11134, 1 },
1814
+ { 0x11173, 0x11180, 13 },
1815
+ { 0x11181, 0x111B6, 53 },
1816
+ { 0x111B7, 0x111BE, 1 },
1817
+ { 0x1122F, 0x11231, 1 },
1818
+ { 0x11234, 0x11236, 2 },
1819
+ { 0x11237, 0x112DF, 168 },
1820
+ { 0x112E3, 0x112EA, 1 },
1821
+ { 0x11301, 0x1133C, 59 },
1822
+ { 0x1133E, 0x11340, 2 },
1823
+ { 0x11357, 0x11366, 15 },
1824
+ { 0x11367, 0x1136C, 1 },
1825
+ { 0x11370, 0x11374, 1 },
1826
+ { 0x114B0, 0x114B3, 3 },
1827
+ { 0x114B4, 0x114B8, 1 },
1828
+ { 0x114BA, 0x114BD, 3 },
1829
+ { 0x114BF, 0x114C0, 1 },
1830
+ { 0x114C2, 0x114C3, 1 },
1831
+ { 0x115AF, 0x115B2, 3 },
1832
+ { 0x115B3, 0x115B5, 1 },
1833
+ { 0x115BC, 0x115BD, 1 },
1834
+ { 0x115BF, 0x115C0, 1 },
1835
+ { 0x11633, 0x1163A, 1 },
1836
+ { 0x1163D, 0x1163F, 2 },
1837
+ { 0x11640, 0x116AB, 107 },
1838
+ { 0x116AD, 0x116B0, 3 },
1839
+ { 0x116B1, 0x116B5, 1 },
1840
+ { 0x116B7, 0x16AF0, 21561 },
1841
+ { 0x16AF1, 0x16AF4, 1 },
1842
+ { 0x16B30, 0x16B36, 1 },
1843
+ { 0x16F8F, 0x16F92, 1 },
1844
+ { 0x1BC9D, 0x1BC9E, 1 },
1845
+ { 0x1D165, 0x1D167, 2 },
1846
+ { 0x1D168, 0x1D169, 1 },
1847
+ { 0x1D16E, 0x1D172, 1 },
1848
+ { 0x1D17B, 0x1D182, 1 },
1849
+ { 0x1D185, 0x1D18B, 1 },
1850
+ { 0x1D1AA, 0x1D1AD, 1 },
1851
+ { 0x1D242, 0x1D244, 1 },
1852
+ { 0x1E8D0, 0x1E8D6, 1 },
1853
+ { 0xE0100, 0xE01EF, 1 },
1854
+ };
1855
+
1856
+ static struct range_table cntrl_table[] = {
1857
+ { 0x0, 0x1F, 1 },
1858
+ { 0x7F, 0x9F, 1 },
1859
+ { 0xAD, 0x600, 1363 },
1860
+ { 0x601, 0x605, 1 },
1861
+ { 0x61C, 0x6DD, 193 },
1862
+ { 0x70F, 0x180E, 4351 },
1863
+ { 0x200B, 0x200F, 1 },
1864
+ { 0x202A, 0x202E, 1 },
1865
+ { 0x2060, 0x2064, 1 },
1866
+ { 0x2066, 0x206F, 1 },
1867
+ { 0xE000, 0xE000, 0 },
1868
+ { 0xE001, 0xF8FF, 1 },
1869
+ { 0xFEFF, 0xFFF9, 250 },
1870
+ { 0xFFFA, 0xFFFB, 1 },
1871
+ { 0x110BD, 0x1BCA0, 44003 },
1872
+ { 0x1BCA1, 0x1BCA3, 1 },
1873
+ { 0x1D173, 0x1D17A, 1 },
1874
+ { 0xE0001, 0xE0020, 31 },
1875
+ { 0xE0021, 0xE007F, 1 },
1876
+ { 0xF0000, 0xF0000, 0 },
1877
+ { 0xF0001, 0xFFFFD, 1 },
1878
+ { 0x100000, 0x100000, 0 },
1879
+ { 0x100001, 0x10FFFD, 1 },
1880
+ };
1881
+
1882
+ static struct range_table digit_table[] = {
1883
+ { 0x30, 0x39, 1 },
1884
+ { 0x660, 0x669, 1 },
1885
+ { 0x6F0, 0x6F9, 1 },
1886
+ { 0x7C0, 0x7C9, 1 },
1887
+ { 0x966, 0x96F, 1 },
1888
+ { 0x9E6, 0x9EF, 1 },
1889
+ { 0xA66, 0xA6F, 1 },
1890
+ { 0xAE6, 0xAEF, 1 },
1891
+ { 0xB66, 0xB6F, 1 },
1892
+ { 0xBE6, 0xBEF, 1 },
1893
+ { 0xC66, 0xC6F, 1 },
1894
+ { 0xCE6, 0xCEF, 1 },
1895
+ { 0xD66, 0xD6F, 1 },
1896
+ { 0xDE6, 0xDEF, 1 },
1897
+ { 0xE50, 0xE59, 1 },
1898
+ { 0xED0, 0xED9, 1 },
1899
+ { 0xF20, 0xF29, 1 },
1900
+ { 0x1040, 0x1049, 1 },
1901
+ { 0x1090, 0x1099, 1 },
1902
+ { 0x17E0, 0x17E9, 1 },
1903
+ { 0x1810, 0x1819, 1 },
1904
+ { 0x1946, 0x194F, 1 },
1905
+ { 0x19D0, 0x19D9, 1 },
1906
+ { 0x1A80, 0x1A89, 1 },
1907
+ { 0x1A90, 0x1A99, 1 },
1908
+ { 0x1B50, 0x1B59, 1 },
1909
+ { 0x1BB0, 0x1BB9, 1 },
1910
+ { 0x1C40, 0x1C49, 1 },
1911
+ { 0x1C50, 0x1C59, 1 },
1912
+ { 0xA620, 0xA629, 1 },
1913
+ { 0xA8D0, 0xA8D9, 1 },
1914
+ { 0xA900, 0xA909, 1 },
1915
+ { 0xA9D0, 0xA9D9, 1 },
1916
+ { 0xA9F0, 0xA9F9, 1 },
1917
+ { 0xAA50, 0xAA59, 1 },
1918
+ { 0xABF0, 0xABF9, 1 },
1919
+ { 0xFF10, 0xFF19, 1 },
1920
+ { 0x104A0, 0x104A9, 1 },
1921
+ { 0x11066, 0x1106F, 1 },
1922
+ { 0x110F0, 0x110F9, 1 },
1923
+ { 0x11136, 0x1113F, 1 },
1924
+ { 0x111D0, 0x111D9, 1 },
1925
+ { 0x112F0, 0x112F9, 1 },
1926
+ { 0x114D0, 0x114D9, 1 },
1927
+ { 0x11650, 0x11659, 1 },
1928
+ { 0x116C0, 0x116C9, 1 },
1929
+ { 0x118E0, 0x118E9, 1 },
1930
+ { 0x16A60, 0x16A69, 1 },
1931
+ { 0x16B50, 0x16B59, 1 },
1932
+ { 0x1D7CE, 0x1D7FF, 1 },
1933
+ };
1934
+
1935
+ static struct range_table alnum_extend_table[] = {
1936
+ { 0x30, 0x39, 1 },
1937
+ { 0x5F, 0xB2, 83 },
1938
+ { 0xB3, 0xB9, 6 },
1939
+ { 0xBC, 0xBE, 1 },
1940
+ { 0x660, 0x669, 1 },
1941
+ { 0x6F0, 0x6F9, 1 },
1942
+ { 0x7C0, 0x7C9, 1 },
1943
+ { 0x966, 0x96F, 1 },
1944
+ { 0x9E6, 0x9EF, 1 },
1945
+ { 0x9F4, 0x9F9, 1 },
1946
+ { 0xA66, 0xA6F, 1 },
1947
+ { 0xAE6, 0xAEF, 1 },
1948
+ { 0xB66, 0xB6F, 1 },
1949
+ { 0xB72, 0xB77, 1 },
1950
+ { 0xBE6, 0xBF2, 1 },
1951
+ { 0xC66, 0xC6F, 1 },
1952
+ { 0xC78, 0xC7E, 1 },
1953
+ { 0xCE6, 0xCEF, 1 },
1954
+ { 0xD66, 0xD75, 1 },
1955
+ { 0xDE6, 0xDEF, 1 },
1956
+ { 0xE50, 0xE59, 1 },
1957
+ { 0xED0, 0xED9, 1 },
1958
+ { 0xF20, 0xF33, 1 },
1959
+ { 0x1040, 0x1049, 1 },
1960
+ { 0x1090, 0x1099, 1 },
1961
+ { 0x1369, 0x137C, 1 },
1962
+ { 0x16EE, 0x16F0, 1 },
1963
+ { 0x17E0, 0x17E9, 1 },
1964
+ { 0x17F0, 0x17F9, 1 },
1965
+ { 0x1810, 0x1819, 1 },
1966
+ { 0x1946, 0x194F, 1 },
1967
+ { 0x19D0, 0x19DA, 1 },
1968
+ { 0x1A80, 0x1A89, 1 },
1969
+ { 0x1A90, 0x1A99, 1 },
1970
+ { 0x1B50, 0x1B59, 1 },
1971
+ { 0x1BB0, 0x1BB9, 1 },
1972
+ { 0x1C40, 0x1C49, 1 },
1973
+ { 0x1C50, 0x1C59, 1 },
1974
+ { 0x203F, 0x2040, 1 },
1975
+ { 0x2054, 0x2070, 28 },
1976
+ { 0x2074, 0x2079, 1 },
1977
+ { 0x2080, 0x2089, 1 },
1978
+ { 0x2150, 0x2182, 1 },
1979
+ { 0x2185, 0x2189, 1 },
1980
+ { 0x2460, 0x249B, 1 },
1981
+ { 0x24EA, 0x24FF, 1 },
1982
+ { 0x2776, 0x2793, 1 },
1983
+ { 0x2CFD, 0x3007, 778 },
1984
+ { 0x3021, 0x3029, 1 },
1985
+ { 0x3038, 0x303A, 1 },
1986
+ { 0x3192, 0x3195, 1 },
1987
+ { 0x3220, 0x3229, 1 },
1988
+ { 0x3248, 0x324F, 1 },
1989
+ { 0x3251, 0x325F, 1 },
1990
+ { 0x3280, 0x3289, 1 },
1991
+ { 0x32B1, 0x32BF, 1 },
1992
+ { 0xA620, 0xA629, 1 },
1993
+ { 0xA6E6, 0xA6EF, 1 },
1994
+ { 0xA830, 0xA835, 1 },
1995
+ { 0xA8D0, 0xA8D9, 1 },
1996
+ { 0xA900, 0xA909, 1 },
1997
+ { 0xA9D0, 0xA9D9, 1 },
1998
+ { 0xA9F0, 0xA9F9, 1 },
1999
+ { 0xAA50, 0xAA59, 1 },
2000
+ { 0xABF0, 0xABF9, 1 },
2001
+ { 0xFE33, 0xFE34, 1 },
2002
+ { 0xFE4D, 0xFE4F, 1 },
2003
+ { 0xFF10, 0xFF19, 1 },
2004
+ { 0xFF3F, 0x10107, 456 },
2005
+ { 0x10108, 0x10133, 1 },
2006
+ { 0x10140, 0x10178, 1 },
2007
+ { 0x1018A, 0x1018B, 1 },
2008
+ { 0x102E1, 0x102FB, 1 },
2009
+ { 0x10320, 0x10323, 1 },
2010
+ { 0x10341, 0x1034A, 9 },
2011
+ { 0x103D1, 0x103D5, 1 },
2012
+ { 0x104A0, 0x104A9, 1 },
2013
+ { 0x10858, 0x1085F, 1 },
2014
+ { 0x10879, 0x1087F, 1 },
2015
+ { 0x108A7, 0x108AF, 1 },
2016
+ { 0x10916, 0x1091B, 1 },
2017
+ { 0x10A40, 0x10A47, 1 },
2018
+ { 0x10A7D, 0x10A7E, 1 },
2019
+ { 0x10A9D, 0x10A9F, 1 },
2020
+ { 0x10AEB, 0x10AEF, 1 },
2021
+ { 0x10B58, 0x10B5F, 1 },
2022
+ { 0x10B78, 0x10B7F, 1 },
2023
+ { 0x10BA9, 0x10BAF, 1 },
2024
+ { 0x10E60, 0x10E7E, 1 },
2025
+ { 0x11052, 0x1106F, 1 },
2026
+ { 0x110F0, 0x110F9, 1 },
2027
+ { 0x11136, 0x1113F, 1 },
2028
+ { 0x111D0, 0x111D9, 1 },
2029
+ { 0x111E1, 0x111F4, 1 },
2030
+ { 0x112F0, 0x112F9, 1 },
2031
+ { 0x114D0, 0x114D9, 1 },
2032
+ { 0x11650, 0x11659, 1 },
2033
+ { 0x116C0, 0x116C9, 1 },
2034
+ { 0x118E0, 0x118F2, 1 },
2035
+ { 0x12400, 0x1246E, 1 },
2036
+ { 0x16A60, 0x16A69, 1 },
2037
+ { 0x16B50, 0x16B59, 1 },
2038
+ { 0x16B5B, 0x16B61, 1 },
2039
+ { 0x1D360, 0x1D371, 1 },
2040
+ { 0x1D7CE, 0x1D7FF, 1 },
2041
+ { 0x1E8C7, 0x1E8CF, 1 },
2042
+ { 0x1F100, 0x1F10C, 1 },
2043
+ };
2044
+
2045
+ static struct range_table punct_table[] = {
2046
+ { 0x21, 0x2F, 1 },
2047
+ { 0x3A, 0x40, 1 },
2048
+ { 0x5B, 0x60, 1 },
2049
+ { 0x7B, 0x7E, 1 },
2050
+ { 0xA1, 0xA5, 1 },
2051
+ { 0xA7, 0xA8, 1 },
2052
+ { 0xAB, 0xAC, 1 },
2053
+ { 0xAF, 0xB1, 2 },
2054
+ { 0xB4, 0xB6, 2 },
2055
+ { 0xB7, 0xB8, 1 },
2056
+ { 0xBB, 0xBF, 4 },
2057
+ { 0xD7, 0xF7, 32 },
2058
+ { 0x2C2, 0x2C5, 1 },
2059
+ { 0x2D2, 0x2DF, 1 },
2060
+ { 0x2E5, 0x2EB, 1 },
2061
+ { 0x2ED, 0x2EF, 2 },
2062
+ { 0x2F0, 0x2FF, 1 },
2063
+ { 0x375, 0x37E, 9 },
2064
+ { 0x384, 0x385, 1 },
2065
+ { 0x387, 0x3F6, 111 },
2066
+ { 0x55A, 0x55F, 1 },
2067
+ { 0x589, 0x58A, 1 },
2068
+ { 0x58F, 0x5BE, 47 },
2069
+ { 0x5C0, 0x5C6, 3 },
2070
+ { 0x5F3, 0x5F4, 1 },
2071
+ { 0x606, 0x60D, 1 },
2072
+ { 0x61B, 0x61E, 3 },
2073
+ { 0x61F, 0x66A, 75 },
2074
+ { 0x66B, 0x66D, 1 },
2075
+ { 0x6D4, 0x700, 44 },
2076
+ { 0x701, 0x70D, 1 },
2077
+ { 0x7F7, 0x7F9, 1 },
2078
+ { 0x830, 0x83E, 1 },
2079
+ { 0x85E, 0x964, 262 },
2080
+ { 0x965, 0x970, 11 },
2081
+ { 0x9F2, 0x9F3, 1 },
2082
+ { 0x9FB, 0xAF0, 245 },
2083
+ { 0xAF1, 0xBF9, 264 },
2084
+ { 0xDF4, 0xE3F, 75 },
2085
+ { 0xE4F, 0xE5A, 11 },
2086
+ { 0xE5B, 0xF04, 169 },
2087
+ { 0xF05, 0xF12, 1 },
2088
+ { 0xF14, 0xF3A, 38 },
2089
+ { 0xF3B, 0xF3D, 1 },
2090
+ { 0xF85, 0xFD0, 75 },
2091
+ { 0xFD1, 0xFD4, 1 },
2092
+ { 0xFD9, 0xFDA, 1 },
2093
+ { 0x104A, 0x104F, 1 },
2094
+ { 0x10FB, 0x1360, 613 },
2095
+ { 0x1361, 0x1368, 1 },
2096
+ { 0x1400, 0x166D, 621 },
2097
+ { 0x166E, 0x169B, 45 },
2098
+ { 0x169C, 0x16EB, 79 },
2099
+ { 0x16EC, 0x16ED, 1 },
2100
+ { 0x1735, 0x1736, 1 },
2101
+ { 0x17D4, 0x17D6, 1 },
2102
+ { 0x17D8, 0x17DB, 1 },
2103
+ { 0x1800, 0x180A, 1 },
2104
+ { 0x1944, 0x1945, 1 },
2105
+ { 0x1A1E, 0x1A1F, 1 },
2106
+ { 0x1AA0, 0x1AA6, 1 },
2107
+ { 0x1AA8, 0x1AAD, 1 },
2108
+ { 0x1B5A, 0x1B60, 1 },
2109
+ { 0x1BFC, 0x1BFF, 1 },
2110
+ { 0x1C3B, 0x1C3F, 1 },
2111
+ { 0x1C7E, 0x1C7F, 1 },
2112
+ { 0x1CC0, 0x1CC7, 1 },
2113
+ { 0x1CD3, 0x1FBD, 746 },
2114
+ { 0x1FBF, 0x1FC1, 1 },
2115
+ { 0x1FCD, 0x1FCF, 1 },
2116
+ { 0x1FDD, 0x1FDF, 1 },
2117
+ { 0x1FED, 0x1FEF, 1 },
2118
+ { 0x1FFD, 0x1FFE, 1 },
2119
+ { 0x2010, 0x2027, 1 },
2120
+ { 0x2030, 0x205E, 1 },
2121
+ { 0x207A, 0x207E, 1 },
2122
+ { 0x208A, 0x208E, 1 },
2123
+ { 0x20A0, 0x20BD, 1 },
2124
+ { 0x2118, 0x2140, 40 },
2125
+ { 0x2141, 0x2144, 1 },
2126
+ { 0x214B, 0x2190, 69 },
2127
+ { 0x2191, 0x2194, 1 },
2128
+ { 0x219A, 0x219B, 1 },
2129
+ { 0x21A0, 0x21A6, 3 },
2130
+ { 0x21AE, 0x21CE, 32 },
2131
+ { 0x21CF, 0x21D2, 3 },
2132
+ { 0x21D4, 0x21F4, 32 },
2133
+ { 0x21F5, 0x22FF, 1 },
2134
+ { 0x2308, 0x230B, 1 },
2135
+ { 0x2320, 0x2321, 1 },
2136
+ { 0x2329, 0x232A, 1 },
2137
+ { 0x237C, 0x239B, 31 },
2138
+ { 0x239C, 0x23B3, 1 },
2139
+ { 0x23DC, 0x23E1, 1 },
2140
+ { 0x25B7, 0x25C1, 10 },
2141
+ { 0x25F8, 0x25FF, 1 },
2142
+ { 0x266F, 0x2768, 249 },
2143
+ { 0x2769, 0x2775, 1 },
2144
+ { 0x27C0, 0x27FF, 1 },
2145
+ { 0x2900, 0x2AFF, 1 },
2146
+ { 0x2B30, 0x2B44, 1 },
2147
+ { 0x2B47, 0x2B4C, 1 },
2148
+ { 0x2CF9, 0x2CFC, 1 },
2149
+ { 0x2CFE, 0x2CFF, 1 },
2150
+ { 0x2D70, 0x2E00, 144 },
2151
+ { 0x2E01, 0x2E2E, 1 },
2152
+ { 0x2E30, 0x2E42, 1 },
2153
+ { 0x3001, 0x3003, 1 },
2154
+ { 0x3008, 0x3011, 1 },
2155
+ { 0x3014, 0x301F, 1 },
2156
+ { 0x3030, 0x303D, 13 },
2157
+ { 0x309B, 0x309C, 1 },
2158
+ { 0x30A0, 0x30FB, 91 },
2159
+ { 0xA4FE, 0xA4FF, 1 },
2160
+ { 0xA60D, 0xA60F, 1 },
2161
+ { 0xA673, 0xA67E, 11 },
2162
+ { 0xA6F2, 0xA6F7, 1 },
2163
+ { 0xA700, 0xA716, 1 },
2164
+ { 0xA720, 0xA721, 1 },
2165
+ { 0xA789, 0xA78A, 1 },
2166
+ { 0xA838, 0xA874, 60 },
2167
+ { 0xA875, 0xA877, 1 },
2168
+ { 0xA8CE, 0xA8CF, 1 },
2169
+ { 0xA8F8, 0xA8FA, 1 },
2170
+ { 0xA92E, 0xA92F, 1 },
2171
+ { 0xA95F, 0xA9C1, 98 },
2172
+ { 0xA9C2, 0xA9CD, 1 },
2173
+ { 0xA9DE, 0xA9DF, 1 },
2174
+ { 0xAA5C, 0xAA5F, 1 },
2175
+ { 0xAADE, 0xAADF, 1 },
2176
+ { 0xAAF0, 0xAAF1, 1 },
2177
+ { 0xAB5B, 0xABEB, 144 },
2178
+ { 0xFB29, 0xFBB2, 137 },
2179
+ { 0xFBB3, 0xFBC1, 1 },
2180
+ { 0xFD3E, 0xFD3F, 1 },
2181
+ { 0xFDFC, 0xFE10, 20 },
2182
+ { 0xFE11, 0xFE19, 1 },
2183
+ { 0xFE30, 0xFE52, 1 },
2184
+ { 0xFE54, 0xFE66, 1 },
2185
+ { 0xFE68, 0xFE6B, 1 },
2186
+ { 0xFF01, 0xFF0F, 1 },
2187
+ { 0xFF1A, 0xFF20, 1 },
2188
+ { 0xFF3B, 0xFF40, 1 },
2189
+ { 0xFF5B, 0xFF65, 1 },
2190
+ { 0xFFE0, 0xFFE3, 1 },
2191
+ { 0xFFE5, 0xFFE6, 1 },
2192
+ { 0xFFE9, 0xFFEC, 1 },
2193
+ { 0x10100, 0x10102, 1 },
2194
+ { 0x1039F, 0x103D0, 49 },
2195
+ { 0x1056F, 0x10857, 744 },
2196
+ { 0x1091F, 0x1093F, 32 },
2197
+ { 0x10A50, 0x10A58, 1 },
2198
+ { 0x10A7F, 0x10AF0, 113 },
2199
+ { 0x10AF1, 0x10AF6, 1 },
2200
+ { 0x10B39, 0x10B3F, 1 },
2201
+ { 0x10B99, 0x10B9C, 1 },
2202
+ { 0x11047, 0x1104D, 1 },
2203
+ { 0x110BB, 0x110BC, 1 },
2204
+ { 0x110BE, 0x110C1, 1 },
2205
+ { 0x11140, 0x11143, 1 },
2206
+ { 0x11174, 0x11175, 1 },
2207
+ { 0x111C5, 0x111C8, 1 },
2208
+ { 0x111CD, 0x11238, 107 },
2209
+ { 0x11239, 0x1123D, 1 },
2210
+ { 0x114C6, 0x115C1, 251 },
2211
+ { 0x115C2, 0x115C9, 1 },
2212
+ { 0x11641, 0x11643, 1 },
2213
+ { 0x12470, 0x12474, 1 },
2214
+ { 0x16A6E, 0x16A6F, 1 },
2215
+ { 0x16AF5, 0x16B37, 66 },
2216
+ { 0x16B38, 0x16B3B, 1 },
2217
+ { 0x16B44, 0x1BC9F, 20827 },
2218
+ { 0x1D6C1, 0x1D6DB, 26 },
2219
+ { 0x1D6FB, 0x1D715, 26 },
2220
+ { 0x1D735, 0x1D74F, 26 },
2221
+ { 0x1D76F, 0x1D789, 26 },
2222
+ { 0x1D7A9, 0x1D7C3, 26 },
2223
+ { 0x1EEF0, 0x1EEF1, 1 },
2224
+ };
2225
+
2226
+ static struct conv_table tolower_table[] = {
2227
+ { 0x41, 0x5A, 1, 32 },
2228
+ { 0xC0, 0xD6, 1, 32 },
2229
+ { 0xD8, 0xDE, 1, 32 },
2230
+ { 0x100, 0x12E, 2, 1 },
2231
+ { 0x130, 0x130, 1, -199 },
2232
+ { 0x132, 0x136, 2, 1 },
2233
+ { 0x139, 0x147, 2, 1 },
2234
+ { 0x14A, 0x176, 2, 1 },
2235
+ { 0x178, 0x178, 1, -121 },
2236
+ { 0x179, 0x17D, 2, 1 },
2237
+ { 0x181, 0x181, 1, 210 },
2238
+ { 0x182, 0x184, 2, 1 },
2239
+ { 0x186, 0x186, 1, 206 },
2240
+ { 0x187, 0x187, 1, 1 },
2241
+ { 0x189, 0x18A, 1, 205 },
2242
+ { 0x18B, 0x18B, 1, 1 },
2243
+ { 0x18E, 0x18E, 1, 79 },
2244
+ { 0x18F, 0x18F, 1, 202 },
2245
+ { 0x190, 0x190, 1, 203 },
2246
+ { 0x191, 0x191, 1, 1 },
2247
+ { 0x193, 0x193, 1, 205 },
2248
+ { 0x194, 0x194, 1, 207 },
2249
+ { 0x196, 0x196, 1, 211 },
2250
+ { 0x197, 0x197, 1, 209 },
2251
+ { 0x198, 0x198, 1, 1 },
2252
+ { 0x19C, 0x19C, 1, 211 },
2253
+ { 0x19D, 0x19D, 1, 213 },
2254
+ { 0x19F, 0x19F, 1, 214 },
2255
+ { 0x1A0, 0x1A4, 2, 1 },
2256
+ { 0x1A6, 0x1A6, 1, 218 },
2257
+ { 0x1A7, 0x1A7, 1, 1 },
2258
+ { 0x1A9, 0x1A9, 1, 218 },
2259
+ { 0x1AC, 0x1AC, 1, 1 },
2260
+ { 0x1AE, 0x1AE, 1, 218 },
2261
+ { 0x1AF, 0x1AF, 1, 1 },
2262
+ { 0x1B1, 0x1B2, 1, 217 },
2263
+ { 0x1B3, 0x1B5, 2, 1 },
2264
+ { 0x1B7, 0x1B7, 1, 219 },
2265
+ { 0x1B8, 0x1BC, 4, 1 },
2266
+ { 0x1C4, 0x1C4, 1, 2 },
2267
+ { 0x1C5, 0x1C5, 1, 1 },
2268
+ { 0x1C7, 0x1C7, 1, 2 },
2269
+ { 0x1C8, 0x1C8, 1, 1 },
2270
+ { 0x1CA, 0x1CA, 1, 2 },
2271
+ { 0x1CB, 0x1DB, 2, 1 },
2272
+ { 0x1DE, 0x1EE, 2, 1 },
2273
+ { 0x1F1, 0x1F1, 1, 2 },
2274
+ { 0x1F2, 0x1F4, 2, 1 },
2275
+ { 0x1F6, 0x1F6, 1, -97 },
2276
+ { 0x1F7, 0x1F7, 1, -56 },
2277
+ { 0x1F8, 0x21E, 2, 1 },
2278
+ { 0x220, 0x220, 1, -130 },
2279
+ { 0x222, 0x232, 2, 1 },
2280
+ { 0x23A, 0x23A, 1, 10795 },
2281
+ { 0x23B, 0x23B, 1, 1 },
2282
+ { 0x23D, 0x23D, 1, -163 },
2283
+ { 0x23E, 0x23E, 1, 10792 },
2284
+ { 0x241, 0x241, 1, 1 },
2285
+ { 0x243, 0x243, 1, -195 },
2286
+ { 0x244, 0x244, 1, 69 },
2287
+ { 0x245, 0x245, 1, 71 },
2288
+ { 0x246, 0x24E, 2, 1 },
2289
+ { 0x370, 0x372, 2, 1 },
2290
+ { 0x376, 0x376, 1, 1 },
2291
+ { 0x37F, 0x37F, 1, 116 },
2292
+ { 0x386, 0x386, 1, 38 },
2293
+ { 0x388, 0x38A, 1, 37 },
2294
+ { 0x38C, 0x38C, 1, 64 },
2295
+ { 0x38E, 0x38F, 1, 63 },
2296
+ { 0x391, 0x3A1, 1, 32 },
2297
+ { 0x3A3, 0x3AB, 1, 32 },
2298
+ { 0x3CF, 0x3CF, 1, 8 },
2299
+ { 0x3D8, 0x3EE, 2, 1 },
2300
+ { 0x3F4, 0x3F4, 1, -60 },
2301
+ { 0x3F7, 0x3F7, 1, 1 },
2302
+ { 0x3F9, 0x3F9, 1, -7 },
2303
+ { 0x3FA, 0x3FA, 1, 1 },
2304
+ { 0x3FD, 0x3FF, 1, -130 },
2305
+ { 0x400, 0x40F, 1, 80 },
2306
+ { 0x410, 0x42F, 1, 32 },
2307
+ { 0x460, 0x480, 2, 1 },
2308
+ { 0x48A, 0x4BE, 2, 1 },
2309
+ { 0x4C0, 0x4C0, 1, 15 },
2310
+ { 0x4C1, 0x4CD, 2, 1 },
2311
+ { 0x4D0, 0x52E, 2, 1 },
2312
+ { 0x531, 0x556, 1, 48 },
2313
+ { 0x10A0, 0x10C5, 1, 7264 },
2314
+ { 0x10C7, 0x10CD, 6, 7264 },
2315
+ { 0x1E00, 0x1E94, 2, 1 },
2316
+ { 0x1E9E, 0x1E9E, 1, -7615 },
2317
+ { 0x1EA0, 0x1EFE, 2, 1 },
2318
+ { 0x1F08, 0x1F0F, 1, -8 },
2319
+ { 0x1F18, 0x1F1D, 1, -8 },
2320
+ { 0x1F28, 0x1F2F, 1, -8 },
2321
+ { 0x1F38, 0x1F3F, 1, -8 },
2322
+ { 0x1F48, 0x1F4D, 1, -8 },
2323
+ { 0x1F59, 0x1F5F, 2, -8 },
2324
+ { 0x1F68, 0x1F6F, 1, -8 },
2325
+ { 0x1F88, 0x1F8F, 1, -8 },
2326
+ { 0x1F98, 0x1F9F, 1, -8 },
2327
+ { 0x1FA8, 0x1FAF, 1, -8 },
2328
+ { 0x1FB8, 0x1FB9, 1, -8 },
2329
+ { 0x1FBA, 0x1FBB, 1, -74 },
2330
+ { 0x1FBC, 0x1FBC, 1, -9 },
2331
+ { 0x1FC8, 0x1FCB, 1, -86 },
2332
+ { 0x1FCC, 0x1FCC, 1, -9 },
2333
+ { 0x1FD8, 0x1FD9, 1, -8 },
2334
+ { 0x1FDA, 0x1FDB, 1, -100 },
2335
+ { 0x1FE8, 0x1FE9, 1, -8 },
2336
+ { 0x1FEA, 0x1FEB, 1, -112 },
2337
+ { 0x1FEC, 0x1FEC, 1, -7 },
2338
+ { 0x1FF8, 0x1FF9, 1, -128 },
2339
+ { 0x1FFA, 0x1FFB, 1, -126 },
2340
+ { 0x1FFC, 0x1FFC, 1, -9 },
2341
+ { 0x2126, 0x2126, 1, -7517 },
2342
+ { 0x212A, 0x212A, 1, -8383 },
2343
+ { 0x212B, 0x212B, 1, -8262 },
2344
+ { 0x2132, 0x2132, 1, 28 },
2345
+ { 0x2160, 0x216F, 1, 16 },
2346
+ { 0x2183, 0x2183, 1, 1 },
2347
+ { 0x24B6, 0x24CF, 1, 26 },
2348
+ { 0x2C00, 0x2C2E, 1, 48 },
2349
+ { 0x2C60, 0x2C60, 1, 1 },
2350
+ { 0x2C62, 0x2C62, 1, -10743 },
2351
+ { 0x2C63, 0x2C63, 1, -3814 },
2352
+ { 0x2C64, 0x2C64, 1, -10727 },
2353
+ { 0x2C67, 0x2C6B, 2, 1 },
2354
+ { 0x2C6D, 0x2C6D, 1, -10780 },
2355
+ { 0x2C6E, 0x2C6E, 1, -10749 },
2356
+ { 0x2C6F, 0x2C6F, 1, -10783 },
2357
+ { 0x2C70, 0x2C70, 1, -10782 },
2358
+ { 0x2C72, 0x2C75, 3, 1 },
2359
+ { 0x2C7E, 0x2C7F, 1, -10815 },
2360
+ { 0x2C80, 0x2CE2, 2, 1 },
2361
+ { 0x2CEB, 0x2CED, 2, 1 },
2362
+ { 0x2CF2, 0xA640, 31054, 1 },
2363
+ { 0xA642, 0xA66C, 2, 1 },
2364
+ { 0xA680, 0xA69A, 2, 1 },
2365
+ { 0xA722, 0xA72E, 2, 1 },
2366
+ { 0xA732, 0xA76E, 2, 1 },
2367
+ { 0xA779, 0xA77B, 2, 1 },
2368
+ { 0xA77D, 0xA77D, 1, -35332 },
2369
+ { 0xA77E, 0xA786, 2, 1 },
2370
+ { 0xA78B, 0xA78B, 1, 1 },
2371
+ { 0xA78D, 0xA78D, 1, -42280 },
2372
+ { 0xA790, 0xA792, 2, 1 },
2373
+ { 0xA796, 0xA7A8, 2, 1 },
2374
+ { 0xA7AA, 0xA7AA, 1, -42308 },
2375
+ { 0xA7AB, 0xA7AB, 1, -42319 },
2376
+ { 0xA7AC, 0xA7AC, 1, -42315 },
2377
+ { 0xA7AD, 0xA7AD, 1, -42305 },
2378
+ { 0xA7B0, 0xA7B0, 1, -42258 },
2379
+ { 0xA7B1, 0xA7B1, 1, -42282 },
2380
+ { 0xFF21, 0xFF3A, 1, 32 },
2381
+ { 0x10400, 0x10427, 1, 40 },
2382
+ { 0x118A0, 0x118BF, 1, 32 },
2383
+ };
2384
+
2385
+ static struct conv_table toupper_table[] = {
2386
+ { 0x61, 0x7A, 1, -32 },
2387
+ { 0xB5, 0xB5, 1, 743 },
2388
+ { 0xE0, 0xF6, 1, -32 },
2389
+ { 0xF8, 0xFE, 1, -32 },
2390
+ { 0xFF, 0xFF, 1, 121 },
2391
+ { 0x101, 0x12F, 2, -1 },
2392
+ { 0x131, 0x131, 1, -232 },
2393
+ { 0x133, 0x137, 2, -1 },
2394
+ { 0x13A, 0x148, 2, -1 },
2395
+ { 0x14B, 0x177, 2, -1 },
2396
+ { 0x17A, 0x17E, 2, -1 },
2397
+ { 0x17F, 0x17F, 1, -300 },
2398
+ { 0x180, 0x180, 1, 195 },
2399
+ { 0x183, 0x185, 2, -1 },
2400
+ { 0x188, 0x18C, 4, -1 },
2401
+ { 0x192, 0x192, 1, -1 },
2402
+ { 0x195, 0x195, 1, 97 },
2403
+ { 0x199, 0x199, 1, -1 },
2404
+ { 0x19A, 0x19A, 1, 163 },
2405
+ { 0x19E, 0x19E, 1, 130 },
2406
+ { 0x1A1, 0x1A5, 2, -1 },
2407
+ { 0x1A8, 0x1AD, 5, -1 },
2408
+ { 0x1B0, 0x1B4, 4, -1 },
2409
+ { 0x1B6, 0x1B9, 3, -1 },
2410
+ { 0x1BD, 0x1BD, 1, -1 },
2411
+ { 0x1BF, 0x1BF, 1, 56 },
2412
+ { 0x1C5, 0x1C5, 1, -1 },
2413
+ { 0x1C6, 0x1C6, 1, -2 },
2414
+ { 0x1C8, 0x1C8, 1, -1 },
2415
+ { 0x1C9, 0x1C9, 1, -2 },
2416
+ { 0x1CB, 0x1CB, 1, -1 },
2417
+ { 0x1CC, 0x1CC, 1, -2 },
2418
+ { 0x1CE, 0x1DC, 2, -1 },
2419
+ { 0x1DD, 0x1DD, 1, -79 },
2420
+ { 0x1DF, 0x1EF, 2, -1 },
2421
+ { 0x1F2, 0x1F2, 1, -1 },
2422
+ { 0x1F3, 0x1F3, 1, -2 },
2423
+ { 0x1F5, 0x1F9, 4, -1 },
2424
+ { 0x1FB, 0x21F, 2, -1 },
2425
+ { 0x223, 0x233, 2, -1 },
2426
+ { 0x23C, 0x23C, 1, -1 },
2427
+ { 0x23F, 0x240, 1, 10815 },
2428
+ { 0x242, 0x247, 5, -1 },
2429
+ { 0x249, 0x24F, 2, -1 },
2430
+ { 0x250, 0x250, 1, 10783 },
2431
+ { 0x251, 0x251, 1, 10780 },
2432
+ { 0x252, 0x252, 1, 10782 },
2433
+ { 0x253, 0x253, 1, -210 },
2434
+ { 0x254, 0x254, 1, -206 },
2435
+ { 0x256, 0x257, 1, -205 },
2436
+ { 0x259, 0x259, 1, -202 },
2437
+ { 0x25B, 0x25B, 1, -203 },
2438
+ { 0x25C, 0x25C, 1, 42319 },
2439
+ { 0x260, 0x260, 1, -205 },
2440
+ { 0x261, 0x261, 1, 42315 },
2441
+ { 0x263, 0x263, 1, -207 },
2442
+ { 0x265, 0x265, 1, 42280 },
2443
+ { 0x266, 0x266, 1, 42308 },
2444
+ { 0x268, 0x268, 1, -209 },
2445
+ { 0x269, 0x269, 1, -211 },
2446
+ { 0x26B, 0x26B, 1, 10743 },
2447
+ { 0x26C, 0x26C, 1, 42305 },
2448
+ { 0x26F, 0x26F, 1, -211 },
2449
+ { 0x271, 0x271, 1, 10749 },
2450
+ { 0x272, 0x272, 1, -213 },
2451
+ { 0x275, 0x275, 1, -214 },
2452
+ { 0x27D, 0x27D, 1, 10727 },
2453
+ { 0x280, 0x283, 3, -218 },
2454
+ { 0x287, 0x287, 1, 42282 },
2455
+ { 0x288, 0x288, 1, -218 },
2456
+ { 0x289, 0x289, 1, -69 },
2457
+ { 0x28A, 0x28B, 1, -217 },
2458
+ { 0x28C, 0x28C, 1, -71 },
2459
+ { 0x292, 0x292, 1, -219 },
2460
+ { 0x29E, 0x29E, 1, 42258 },
2461
+ { 0x345, 0x345, 1, 84 },
2462
+ { 0x371, 0x373, 2, -1 },
2463
+ { 0x377, 0x377, 1, -1 },
2464
+ { 0x37B, 0x37D, 1, 130 },
2465
+ { 0x3AC, 0x3AC, 1, -38 },
2466
+ { 0x3AD, 0x3AF, 1, -37 },
2467
+ { 0x3B1, 0x3C1, 1, -32 },
2468
+ { 0x3C2, 0x3C2, 1, -31 },
2469
+ { 0x3C3, 0x3CB, 1, -32 },
2470
+ { 0x3CC, 0x3CC, 1, -64 },
2471
+ { 0x3CD, 0x3CE, 1, -63 },
2472
+ { 0x3D0, 0x3D0, 1, -62 },
2473
+ { 0x3D1, 0x3D1, 1, -57 },
2474
+ { 0x3D5, 0x3D5, 1, -47 },
2475
+ { 0x3D6, 0x3D6, 1, -54 },
2476
+ { 0x3D7, 0x3D7, 1, -8 },
2477
+ { 0x3D9, 0x3EF, 2, -1 },
2478
+ { 0x3F0, 0x3F0, 1, -86 },
2479
+ { 0x3F1, 0x3F1, 1, -80 },
2480
+ { 0x3F2, 0x3F2, 1, 7 },
2481
+ { 0x3F3, 0x3F3, 1, -116 },
2482
+ { 0x3F5, 0x3F5, 1, -96 },
2483
+ { 0x3F8, 0x3FB, 3, -1 },
2484
+ { 0x430, 0x44F, 1, -32 },
2485
+ { 0x450, 0x45F, 1, -80 },
2486
+ { 0x461, 0x481, 2, -1 },
2487
+ { 0x48B, 0x4BF, 2, -1 },
2488
+ { 0x4C2, 0x4CE, 2, -1 },
2489
+ { 0x4CF, 0x4CF, 1, -15 },
2490
+ { 0x4D1, 0x52F, 2, -1 },
2491
+ { 0x561, 0x586, 1, -48 },
2492
+ { 0x1D79, 0x1D79, 1, 35332 },
2493
+ { 0x1D7D, 0x1D7D, 1, 3814 },
2494
+ { 0x1E01, 0x1E95, 2, -1 },
2495
+ { 0x1E9B, 0x1E9B, 1, -59 },
2496
+ { 0x1EA1, 0x1EFF, 2, -1 },
2497
+ { 0x1F00, 0x1F07, 1, 8 },
2498
+ { 0x1F10, 0x1F15, 1, 8 },
2499
+ { 0x1F20, 0x1F27, 1, 8 },
2500
+ { 0x1F30, 0x1F37, 1, 8 },
2501
+ { 0x1F40, 0x1F45, 1, 8 },
2502
+ { 0x1F51, 0x1F57, 2, 8 },
2503
+ { 0x1F60, 0x1F67, 1, 8 },
2504
+ { 0x1F70, 0x1F71, 1, 74 },
2505
+ { 0x1F72, 0x1F75, 1, 86 },
2506
+ { 0x1F76, 0x1F77, 1, 100 },
2507
+ { 0x1F78, 0x1F79, 1, 128 },
2508
+ { 0x1F7A, 0x1F7B, 1, 112 },
2509
+ { 0x1F7C, 0x1F7D, 1, 126 },
2510
+ { 0x1F80, 0x1F87, 1, 8 },
2511
+ { 0x1F90, 0x1F97, 1, 8 },
2512
+ { 0x1FA0, 0x1FA7, 1, 8 },
2513
+ { 0x1FB0, 0x1FB1, 1, 8 },
2514
+ { 0x1FB3, 0x1FB3, 1, 9 },
2515
+ { 0x1FBE, 0x1FBE, 1, -7205 },
2516
+ { 0x1FC3, 0x1FC3, 1, 9 },
2517
+ { 0x1FD0, 0x1FD1, 1, 8 },
2518
+ { 0x1FE0, 0x1FE1, 1, 8 },
2519
+ { 0x1FE5, 0x1FE5, 1, 7 },
2520
+ { 0x1FF3, 0x1FF3, 1, 9 },
2521
+ { 0x214E, 0x214E, 1, -28 },
2522
+ { 0x2170, 0x217F, 1, -16 },
2523
+ { 0x2184, 0x2184, 1, -1 },
2524
+ { 0x24D0, 0x24E9, 1, -26 },
2525
+ { 0x2C30, 0x2C5E, 1, -48 },
2526
+ { 0x2C61, 0x2C61, 1, -1 },
2527
+ { 0x2C65, 0x2C65, 1, -10795 },
2528
+ { 0x2C66, 0x2C66, 1, -10792 },
2529
+ { 0x2C68, 0x2C6C, 2, -1 },
2530
+ { 0x2C73, 0x2C76, 3, -1 },
2531
+ { 0x2C81, 0x2CE3, 2, -1 },
2532
+ { 0x2CEC, 0x2CEE, 2, -1 },
2533
+ { 0x2CF3, 0x2CF3, 1, -1 },
2534
+ { 0x2D00, 0x2D25, 1, -7264 },
2535
+ { 0x2D27, 0x2D2D, 6, -7264 },
2536
+ { 0xA641, 0xA66D, 2, -1 },
2537
+ { 0xA681, 0xA69B, 2, -1 },
2538
+ { 0xA723, 0xA72F, 2, -1 },
2539
+ { 0xA733, 0xA76F, 2, -1 },
2540
+ { 0xA77A, 0xA77C, 2, -1 },
2541
+ { 0xA77F, 0xA787, 2, -1 },
2542
+ { 0xA78C, 0xA791, 5, -1 },
2543
+ { 0xA793, 0xA797, 4, -1 },
2544
+ { 0xA799, 0xA7A9, 2, -1 },
2545
+ { 0xFF41, 0xFF5A, 1, -32 },
2546
+ { 0x10428, 0x1044F, 1, -40 },
2547
+ { 0x118C0, 0x118DF, 1, -32 },
2548
+ };
2549
+
2550
+ static struct conv_table totitle_table[] = {
2551
+ { 0x61, 0x7A, 1, -32 },
2552
+ { 0xB5, 0xB5, 1, 743 },
2553
+ { 0xE0, 0xF6, 1, -32 },
2554
+ { 0xF8, 0xFE, 1, -32 },
2555
+ { 0xFF, 0xFF, 1, 121 },
2556
+ { 0x101, 0x12F, 2, -1 },
2557
+ { 0x131, 0x131, 1, -232 },
2558
+ { 0x133, 0x137, 2, -1 },
2559
+ { 0x13A, 0x148, 2, -1 },
2560
+ { 0x14B, 0x177, 2, -1 },
2561
+ { 0x17A, 0x17E, 2, -1 },
2562
+ { 0x17F, 0x17F, 1, -300 },
2563
+ { 0x180, 0x180, 1, 195 },
2564
+ { 0x183, 0x185, 2, -1 },
2565
+ { 0x188, 0x18C, 4, -1 },
2566
+ { 0x192, 0x192, 1, -1 },
2567
+ { 0x195, 0x195, 1, 97 },
2568
+ { 0x199, 0x199, 1, -1 },
2569
+ { 0x19A, 0x19A, 1, 163 },
2570
+ { 0x19E, 0x19E, 1, 130 },
2571
+ { 0x1A1, 0x1A5, 2, -1 },
2572
+ { 0x1A8, 0x1AD, 5, -1 },
2573
+ { 0x1B0, 0x1B4, 4, -1 },
2574
+ { 0x1B6, 0x1B9, 3, -1 },
2575
+ { 0x1BD, 0x1BD, 1, -1 },
2576
+ { 0x1BF, 0x1BF, 1, 56 },
2577
+ { 0x1C4, 0x1C4, 1, 1 },
2578
+ { 0x1C5, 0x1C5, 1, 0 },
2579
+ { 0x1C6, 0x1C6, 1, -1 },
2580
+ { 0x1C7, 0x1C7, 1, 1 },
2581
+ { 0x1C8, 0x1C8, 1, 0 },
2582
+ { 0x1C9, 0x1C9, 1, -1 },
2583
+ { 0x1CA, 0x1CA, 1, 1 },
2584
+ { 0x1CB, 0x1CB, 1, 0 },
2585
+ { 0x1CC, 0x1DC, 2, -1 },
2586
+ { 0x1DD, 0x1DD, 1, -79 },
2587
+ { 0x1DF, 0x1EF, 2, -1 },
2588
+ { 0x1F1, 0x1F1, 1, 1 },
2589
+ { 0x1F2, 0x1F2, 1, 0 },
2590
+ { 0x1F3, 0x1F5, 2, -1 },
2591
+ { 0x1F9, 0x21F, 2, -1 },
2592
+ { 0x223, 0x233, 2, -1 },
2593
+ { 0x23C, 0x23C, 1, -1 },
2594
+ { 0x23F, 0x240, 1, 10815 },
2595
+ { 0x242, 0x247, 5, -1 },
2596
+ { 0x249, 0x24F, 2, -1 },
2597
+ { 0x250, 0x250, 1, 10783 },
2598
+ { 0x251, 0x251, 1, 10780 },
2599
+ { 0x252, 0x252, 1, 10782 },
2600
+ { 0x253, 0x253, 1, -210 },
2601
+ { 0x254, 0x254, 1, -206 },
2602
+ { 0x256, 0x257, 1, -205 },
2603
+ { 0x259, 0x259, 1, -202 },
2604
+ { 0x25B, 0x25B, 1, -203 },
2605
+ { 0x25C, 0x25C, 1, 42319 },
2606
+ { 0x260, 0x260, 1, -205 },
2607
+ { 0x261, 0x261, 1, 42315 },
2608
+ { 0x263, 0x263, 1, -207 },
2609
+ { 0x265, 0x265, 1, 42280 },
2610
+ { 0x266, 0x266, 1, 42308 },
2611
+ { 0x268, 0x268, 1, -209 },
2612
+ { 0x269, 0x269, 1, -211 },
2613
+ { 0x26B, 0x26B, 1, 10743 },
2614
+ { 0x26C, 0x26C, 1, 42305 },
2615
+ { 0x26F, 0x26F, 1, -211 },
2616
+ { 0x271, 0x271, 1, 10749 },
2617
+ { 0x272, 0x272, 1, -213 },
2618
+ { 0x275, 0x275, 1, -214 },
2619
+ { 0x27D, 0x27D, 1, 10727 },
2620
+ { 0x280, 0x283, 3, -218 },
2621
+ { 0x287, 0x287, 1, 42282 },
2622
+ { 0x288, 0x288, 1, -218 },
2623
+ { 0x289, 0x289, 1, -69 },
2624
+ { 0x28A, 0x28B, 1, -217 },
2625
+ { 0x28C, 0x28C, 1, -71 },
2626
+ { 0x292, 0x292, 1, -219 },
2627
+ { 0x29E, 0x29E, 1, 42258 },
2628
+ { 0x345, 0x345, 1, 84 },
2629
+ { 0x371, 0x373, 2, -1 },
2630
+ { 0x377, 0x377, 1, -1 },
2631
+ { 0x37B, 0x37D, 1, 130 },
2632
+ { 0x3AC, 0x3AC, 1, -38 },
2633
+ { 0x3AD, 0x3AF, 1, -37 },
2634
+ { 0x3B1, 0x3C1, 1, -32 },
2635
+ { 0x3C2, 0x3C2, 1, -31 },
2636
+ { 0x3C3, 0x3CB, 1, -32 },
2637
+ { 0x3CC, 0x3CC, 1, -64 },
2638
+ { 0x3CD, 0x3CE, 1, -63 },
2639
+ { 0x3D0, 0x3D0, 1, -62 },
2640
+ { 0x3D1, 0x3D1, 1, -57 },
2641
+ { 0x3D5, 0x3D5, 1, -47 },
2642
+ { 0x3D6, 0x3D6, 1, -54 },
2643
+ { 0x3D7, 0x3D7, 1, -8 },
2644
+ { 0x3D9, 0x3EF, 2, -1 },
2645
+ { 0x3F0, 0x3F0, 1, -86 },
2646
+ { 0x3F1, 0x3F1, 1, -80 },
2647
+ { 0x3F2, 0x3F2, 1, 7 },
2648
+ { 0x3F3, 0x3F3, 1, -116 },
2649
+ { 0x3F5, 0x3F5, 1, -96 },
2650
+ { 0x3F8, 0x3FB, 3, -1 },
2651
+ { 0x430, 0x44F, 1, -32 },
2652
+ { 0x450, 0x45F, 1, -80 },
2653
+ { 0x461, 0x481, 2, -1 },
2654
+ { 0x48B, 0x4BF, 2, -1 },
2655
+ { 0x4C2, 0x4CE, 2, -1 },
2656
+ { 0x4CF, 0x4CF, 1, -15 },
2657
+ { 0x4D1, 0x52F, 2, -1 },
2658
+ { 0x561, 0x586, 1, -48 },
2659
+ { 0x1D79, 0x1D79, 1, 35332 },
2660
+ { 0x1D7D, 0x1D7D, 1, 3814 },
2661
+ { 0x1E01, 0x1E95, 2, -1 },
2662
+ { 0x1E9B, 0x1E9B, 1, -59 },
2663
+ { 0x1EA1, 0x1EFF, 2, -1 },
2664
+ { 0x1F00, 0x1F07, 1, 8 },
2665
+ { 0x1F10, 0x1F15, 1, 8 },
2666
+ { 0x1F20, 0x1F27, 1, 8 },
2667
+ { 0x1F30, 0x1F37, 1, 8 },
2668
+ { 0x1F40, 0x1F45, 1, 8 },
2669
+ { 0x1F51, 0x1F57, 2, 8 },
2670
+ { 0x1F60, 0x1F67, 1, 8 },
2671
+ { 0x1F70, 0x1F71, 1, 74 },
2672
+ { 0x1F72, 0x1F75, 1, 86 },
2673
+ { 0x1F76, 0x1F77, 1, 100 },
2674
+ { 0x1F78, 0x1F79, 1, 128 },
2675
+ { 0x1F7A, 0x1F7B, 1, 112 },
2676
+ { 0x1F7C, 0x1F7D, 1, 126 },
2677
+ { 0x1F80, 0x1F87, 1, 8 },
2678
+ { 0x1F90, 0x1F97, 1, 8 },
2679
+ { 0x1FA0, 0x1FA7, 1, 8 },
2680
+ { 0x1FB0, 0x1FB1, 1, 8 },
2681
+ { 0x1FB3, 0x1FB3, 1, 9 },
2682
+ { 0x1FBE, 0x1FBE, 1, -7205 },
2683
+ { 0x1FC3, 0x1FC3, 1, 9 },
2684
+ { 0x1FD0, 0x1FD1, 1, 8 },
2685
+ { 0x1FE0, 0x1FE1, 1, 8 },
2686
+ { 0x1FE5, 0x1FE5, 1, 7 },
2687
+ { 0x1FF3, 0x1FF3, 1, 9 },
2688
+ { 0x214E, 0x214E, 1, -28 },
2689
+ { 0x2170, 0x217F, 1, -16 },
2690
+ { 0x2184, 0x2184, 1, -1 },
2691
+ { 0x24D0, 0x24E9, 1, -26 },
2692
+ { 0x2C30, 0x2C5E, 1, -48 },
2693
+ { 0x2C61, 0x2C61, 1, -1 },
2694
+ { 0x2C65, 0x2C65, 1, -10795 },
2695
+ { 0x2C66, 0x2C66, 1, -10792 },
2696
+ { 0x2C68, 0x2C6C, 2, -1 },
2697
+ { 0x2C73, 0x2C76, 3, -1 },
2698
+ { 0x2C81, 0x2CE3, 2, -1 },
2699
+ { 0x2CEC, 0x2CEE, 2, -1 },
2700
+ { 0x2CF3, 0x2CF3, 1, -1 },
2701
+ { 0x2D00, 0x2D25, 1, -7264 },
2702
+ { 0x2D27, 0x2D2D, 6, -7264 },
2703
+ { 0xA641, 0xA66D, 2, -1 },
2704
+ { 0xA681, 0xA69B, 2, -1 },
2705
+ { 0xA723, 0xA72F, 2, -1 },
2706
+ { 0xA733, 0xA76F, 2, -1 },
2707
+ { 0xA77A, 0xA77C, 2, -1 },
2708
+ { 0xA77F, 0xA787, 2, -1 },
2709
+ { 0xA78C, 0xA791, 5, -1 },
2710
+ { 0xA793, 0xA797, 4, -1 },
2711
+ { 0xA799, 0xA7A9, 2, -1 },
2712
+ { 0xFF41, 0xFF5A, 1, -32 },
2713
+ { 0x10428, 0x1044F, 1, -40 },
2714
+ { 0x118C0, 0x118DF, 1, -32 },
2715
+ };
2716
+
2717
+ static struct conv_table tofold_table[] = {
2718
+ { 0x41, 0x5A, 1, 32 },
2719
+ { 0xB5, 0xB5, 1, 775 },
2720
+ { 0xC0, 0xD6, 1, 32 },
2721
+ { 0xD8, 0xDE, 1, 32 },
2722
+ { 0x100, 0x12E, 2, 1 },
2723
+ { 0x132, 0x136, 2, 1 },
2724
+ { 0x139, 0x147, 2, 1 },
2725
+ { 0x14A, 0x176, 2, 1 },
2726
+ { 0x178, 0x178, 1, -121 },
2727
+ { 0x179, 0x17D, 2, 1 },
2728
+ { 0x17F, 0x17F, 1, -268 },
2729
+ { 0x181, 0x181, 1, 210 },
2730
+ { 0x182, 0x184, 2, 1 },
2731
+ { 0x186, 0x186, 1, 206 },
2732
+ { 0x187, 0x187, 1, 1 },
2733
+ { 0x189, 0x18A, 1, 205 },
2734
+ { 0x18B, 0x18B, 1, 1 },
2735
+ { 0x18E, 0x18E, 1, 79 },
2736
+ { 0x18F, 0x18F, 1, 202 },
2737
+ { 0x190, 0x190, 1, 203 },
2738
+ { 0x191, 0x191, 1, 1 },
2739
+ { 0x193, 0x193, 1, 205 },
2740
+ { 0x194, 0x194, 1, 207 },
2741
+ { 0x196, 0x196, 1, 211 },
2742
+ { 0x197, 0x197, 1, 209 },
2743
+ { 0x198, 0x198, 1, 1 },
2744
+ { 0x19C, 0x19C, 1, 211 },
2745
+ { 0x19D, 0x19D, 1, 213 },
2746
+ { 0x19F, 0x19F, 1, 214 },
2747
+ { 0x1A0, 0x1A4, 2, 1 },
2748
+ { 0x1A6, 0x1A6, 1, 218 },
2749
+ { 0x1A7, 0x1A7, 1, 1 },
2750
+ { 0x1A9, 0x1A9, 1, 218 },
2751
+ { 0x1AC, 0x1AC, 1, 1 },
2752
+ { 0x1AE, 0x1AE, 1, 218 },
2753
+ { 0x1AF, 0x1AF, 1, 1 },
2754
+ { 0x1B1, 0x1B2, 1, 217 },
2755
+ { 0x1B3, 0x1B5, 2, 1 },
2756
+ { 0x1B7, 0x1B7, 1, 219 },
2757
+ { 0x1B8, 0x1BC, 4, 1 },
2758
+ { 0x1C4, 0x1C4, 1, 2 },
2759
+ { 0x1C5, 0x1C5, 1, 1 },
2760
+ { 0x1C7, 0x1C7, 1, 2 },
2761
+ { 0x1C8, 0x1C8, 1, 1 },
2762
+ { 0x1CA, 0x1CA, 1, 2 },
2763
+ { 0x1CB, 0x1DB, 2, 1 },
2764
+ { 0x1DE, 0x1EE, 2, 1 },
2765
+ { 0x1F1, 0x1F1, 1, 2 },
2766
+ { 0x1F2, 0x1F4, 2, 1 },
2767
+ { 0x1F6, 0x1F6, 1, -97 },
2768
+ { 0x1F7, 0x1F7, 1, -56 },
2769
+ { 0x1F8, 0x21E, 2, 1 },
2770
+ { 0x220, 0x220, 1, -130 },
2771
+ { 0x222, 0x232, 2, 1 },
2772
+ { 0x23A, 0x23A, 1, 10795 },
2773
+ { 0x23B, 0x23B, 1, 1 },
2774
+ { 0x23D, 0x23D, 1, -163 },
2775
+ { 0x23E, 0x23E, 1, 10792 },
2776
+ { 0x241, 0x241, 1, 1 },
2777
+ { 0x243, 0x243, 1, -195 },
2778
+ { 0x244, 0x244, 1, 69 },
2779
+ { 0x245, 0x245, 1, 71 },
2780
+ { 0x246, 0x24E, 2, 1 },
2781
+ { 0x345, 0x345, 1, 116 },
2782
+ { 0x370, 0x372, 2, 1 },
2783
+ { 0x376, 0x376, 1, 1 },
2784
+ { 0x37F, 0x37F, 1, 116 },
2785
+ { 0x386, 0x386, 1, 38 },
2786
+ { 0x388, 0x38A, 1, 37 },
2787
+ { 0x38C, 0x38C, 1, 64 },
2788
+ { 0x38E, 0x38F, 1, 63 },
2789
+ { 0x391, 0x3A1, 1, 32 },
2790
+ { 0x3A3, 0x3AB, 1, 32 },
2791
+ { 0x3C2, 0x3C2, 1, 1 },
2792
+ { 0x3CF, 0x3CF, 1, 8 },
2793
+ { 0x3D0, 0x3D0, 1, -30 },
2794
+ { 0x3D1, 0x3D1, 1, -25 },
2795
+ { 0x3D5, 0x3D5, 1, -15 },
2796
+ { 0x3D6, 0x3D6, 1, -22 },
2797
+ { 0x3D8, 0x3EE, 2, 1 },
2798
+ { 0x3F0, 0x3F0, 1, -54 },
2799
+ { 0x3F1, 0x3F1, 1, -48 },
2800
+ { 0x3F4, 0x3F4, 1, -60 },
2801
+ { 0x3F5, 0x3F5, 1, -64 },
2802
+ { 0x3F7, 0x3F7, 1, 1 },
2803
+ { 0x3F9, 0x3F9, 1, -7 },
2804
+ { 0x3FA, 0x3FA, 1, 1 },
2805
+ { 0x3FD, 0x3FF, 1, -130 },
2806
+ { 0x400, 0x40F, 1, 80 },
2807
+ { 0x410, 0x42F, 1, 32 },
2808
+ { 0x460, 0x480, 2, 1 },
2809
+ { 0x48A, 0x4BE, 2, 1 },
2810
+ { 0x4C0, 0x4C0, 1, 15 },
2811
+ { 0x4C1, 0x4CD, 2, 1 },
2812
+ { 0x4D0, 0x52E, 2, 1 },
2813
+ { 0x531, 0x556, 1, 48 },
2814
+ { 0x10A0, 0x10C5, 1, 7264 },
2815
+ { 0x10C7, 0x10CD, 6, 7264 },
2816
+ { 0x1E00, 0x1E94, 2, 1 },
2817
+ { 0x1E9B, 0x1E9B, 1, -58 },
2818
+ { 0x1E9E, 0x1E9E, 1, -7615 },
2819
+ { 0x1EA0, 0x1EFE, 2, 1 },
2820
+ { 0x1F08, 0x1F0F, 1, -8 },
2821
+ { 0x1F18, 0x1F1D, 1, -8 },
2822
+ { 0x1F28, 0x1F2F, 1, -8 },
2823
+ { 0x1F38, 0x1F3F, 1, -8 },
2824
+ { 0x1F48, 0x1F4D, 1, -8 },
2825
+ { 0x1F59, 0x1F5F, 2, -8 },
2826
+ { 0x1F68, 0x1F6F, 1, -8 },
2827
+ { 0x1F88, 0x1F8F, 1, -8 },
2828
+ { 0x1F98, 0x1F9F, 1, -8 },
2829
+ { 0x1FA8, 0x1FAF, 1, -8 },
2830
+ { 0x1FB8, 0x1FB9, 1, -8 },
2831
+ { 0x1FBA, 0x1FBB, 1, -74 },
2832
+ { 0x1FBC, 0x1FBC, 1, -9 },
2833
+ { 0x1FBE, 0x1FBE, 1, -7173 },
2834
+ { 0x1FC8, 0x1FCB, 1, -86 },
2835
+ { 0x1FCC, 0x1FCC, 1, -9 },
2836
+ { 0x1FD8, 0x1FD9, 1, -8 },
2837
+ { 0x1FDA, 0x1FDB, 1, -100 },
2838
+ { 0x1FE8, 0x1FE9, 1, -8 },
2839
+ { 0x1FEA, 0x1FEB, 1, -112 },
2840
+ { 0x1FEC, 0x1FEC, 1, -7 },
2841
+ { 0x1FF8, 0x1FF9, 1, -128 },
2842
+ { 0x1FFA, 0x1FFB, 1, -126 },
2843
+ { 0x1FFC, 0x1FFC, 1, -9 },
2844
+ { 0x2126, 0x2126, 1, -7517 },
2845
+ { 0x212A, 0x212A, 1, -8383 },
2846
+ { 0x212B, 0x212B, 1, -8262 },
2847
+ { 0x2132, 0x2132, 1, 28 },
2848
+ { 0x2160, 0x216F, 1, 16 },
2849
+ { 0x2183, 0x2183, 1, 1 },
2850
+ { 0x24B6, 0x24CF, 1, 26 },
2851
+ { 0x2C00, 0x2C2E, 1, 48 },
2852
+ { 0x2C60, 0x2C60, 1, 1 },
2853
+ { 0x2C62, 0x2C62, 1, -10743 },
2854
+ { 0x2C63, 0x2C63, 1, -3814 },
2855
+ { 0x2C64, 0x2C64, 1, -10727 },
2856
+ { 0x2C67, 0x2C6B, 2, 1 },
2857
+ { 0x2C6D, 0x2C6D, 1, -10780 },
2858
+ { 0x2C6E, 0x2C6E, 1, -10749 },
2859
+ { 0x2C6F, 0x2C6F, 1, -10783 },
2860
+ { 0x2C70, 0x2C70, 1, -10782 },
2861
+ { 0x2C72, 0x2C75, 3, 1 },
2862
+ { 0x2C7E, 0x2C7F, 1, -10815 },
2863
+ { 0x2C80, 0x2CE2, 2, 1 },
2864
+ { 0x2CEB, 0x2CED, 2, 1 },
2865
+ { 0x2CF2, 0xA640, 31054, 1 },
2866
+ { 0xA642, 0xA66C, 2, 1 },
2867
+ { 0xA680, 0xA69A, 2, 1 },
2868
+ { 0xA722, 0xA72E, 2, 1 },
2869
+ { 0xA732, 0xA76E, 2, 1 },
2870
+ { 0xA779, 0xA77B, 2, 1 },
2871
+ { 0xA77D, 0xA77D, 1, -35332 },
2872
+ { 0xA77E, 0xA786, 2, 1 },
2873
+ { 0xA78B, 0xA78B, 1, 1 },
2874
+ { 0xA78D, 0xA78D, 1, -42280 },
2875
+ { 0xA790, 0xA792, 2, 1 },
2876
+ { 0xA796, 0xA7A8, 2, 1 },
2877
+ { 0xA7AA, 0xA7AA, 1, -42308 },
2878
+ { 0xA7AB, 0xA7AB, 1, -42319 },
2879
+ { 0xA7AC, 0xA7AC, 1, -42315 },
2880
+ { 0xA7AD, 0xA7AD, 1, -42305 },
2881
+ { 0xA7B0, 0xA7B0, 1, -42258 },
2882
+ { 0xA7B1, 0xA7B1, 1, -42282 },
2883
+ { 0xFF21, 0xFF3A, 1, 32 },
2884
+ { 0x10400, 0x10427, 1, 40 },
2885
+ { 0x118A0, 0x118BF, 1, 32 },
2886
+ };
2887
+
2888
+ static struct range_table doublewidth_table[] = {
2889
+ { 0x1100, 0x115F, 1 },
2890
+ { 0x2329, 0x232A, 1 },
2891
+ { 0x2E80, 0x2E99, 1 },
2892
+ { 0x2E9B, 0x2EF3, 1 },
2893
+ { 0x2F00, 0x2FD5, 1 },
2894
+ { 0x2FF0, 0x2FFB, 1 },
2895
+ { 0x3000, 0x303E, 1 },
2896
+ { 0x3041, 0x3096, 1 },
2897
+ { 0x3099, 0x30FF, 1 },
2898
+ { 0x3105, 0x312D, 1 },
2899
+ { 0x3131, 0x318E, 1 },
2900
+ { 0x3190, 0x31BA, 1 },
2901
+ { 0x31C0, 0x31E3, 1 },
2902
+ { 0x31F0, 0x321E, 1 },
2903
+ { 0x3220, 0x3247, 1 },
2904
+ { 0x3250, 0x32FE, 1 },
2905
+ { 0x3300, 0x4DBF, 1 },
2906
+ { 0x4E00, 0xA48C, 1 },
2907
+ { 0xA490, 0xA4C6, 1 },
2908
+ { 0xA960, 0xA97C, 1 },
2909
+ { 0xAC00, 0xD7A3, 1 },
2910
+ { 0xF900, 0xFAFF, 1 },
2911
+ { 0xFE10, 0xFE19, 1 },
2912
+ { 0xFE30, 0xFE52, 1 },
2913
+ { 0xFE54, 0xFE66, 1 },
2914
+ { 0xFE68, 0xFE6B, 1 },
2915
+ { 0xFF01, 0xFF60, 1 },
2916
+ { 0xFFE0, 0xFFE6, 1 },
2917
+ { 0x1B000, 0x1B001, 1 },
2918
+ { 0x1F200, 0x1F202, 1 },
2919
+ { 0x1F210, 0x1F23A, 1 },
2920
+ { 0x1F240, 0x1F248, 1 },
2921
+ { 0x1F250, 0x1F251, 1 },
2922
+ { 0x20000, 0x2FFFD, 1 },
2923
+ { 0x30000, 0x3FFFD, 1 },
2924
+ };
2925
+
2926
+ static struct range_table ambiwidth_table[] = {
2927
+ { 0xA1, 0xA7, 3 },
2928
+ { 0xA8, 0xAA, 2 },
2929
+ { 0xAD, 0xAE, 1 },
2930
+ { 0xB0, 0xB4, 1 },
2931
+ { 0xB6, 0xBA, 1 },
2932
+ { 0xBC, 0xBF, 1 },
2933
+ { 0xC6, 0xD0, 10 },
2934
+ { 0xD7, 0xD8, 1 },
2935
+ { 0xDE, 0xE1, 1 },
2936
+ { 0xE6, 0xE8, 2 },
2937
+ { 0xE9, 0xEA, 1 },
2938
+ { 0xEC, 0xED, 1 },
2939
+ { 0xF0, 0xF2, 2 },
2940
+ { 0xF3, 0xF7, 4 },
2941
+ { 0xF8, 0xFA, 1 },
2942
+ { 0xFC, 0xFE, 2 },
2943
+ { 0x101, 0x111, 16 },
2944
+ { 0x113, 0x11B, 8 },
2945
+ { 0x126, 0x127, 1 },
2946
+ { 0x12B, 0x131, 6 },
2947
+ { 0x132, 0x133, 1 },
2948
+ { 0x138, 0x13F, 7 },
2949
+ { 0x140, 0x142, 1 },
2950
+ { 0x144, 0x148, 4 },
2951
+ { 0x149, 0x14B, 1 },
2952
+ { 0x14D, 0x152, 5 },
2953
+ { 0x153, 0x166, 19 },
2954
+ { 0x167, 0x16B, 4 },
2955
+ { 0x1CE, 0x1DC, 2 },
2956
+ { 0x251, 0x261, 16 },
2957
+ { 0x2C4, 0x2C7, 3 },
2958
+ { 0x2C9, 0x2CB, 1 },
2959
+ { 0x2CD, 0x2D0, 3 },
2960
+ { 0x2D8, 0x2DB, 1 },
2961
+ { 0x2DD, 0x2DF, 2 },
2962
+ { 0x300, 0x36F, 1 },
2963
+ { 0x391, 0x3A1, 1 },
2964
+ { 0x3A3, 0x3A9, 1 },
2965
+ { 0x3B1, 0x3C1, 1 },
2966
+ { 0x3C3, 0x3C9, 1 },
2967
+ { 0x401, 0x410, 15 },
2968
+ { 0x411, 0x44F, 1 },
2969
+ { 0x451, 0x2010, 7103 },
2970
+ { 0x2013, 0x2016, 1 },
2971
+ { 0x2018, 0x2019, 1 },
2972
+ { 0x201C, 0x201D, 1 },
2973
+ { 0x2020, 0x2022, 1 },
2974
+ { 0x2024, 0x2027, 1 },
2975
+ { 0x2030, 0x2032, 2 },
2976
+ { 0x2033, 0x2035, 2 },
2977
+ { 0x203B, 0x203E, 3 },
2978
+ { 0x2074, 0x207F, 11 },
2979
+ { 0x2081, 0x2084, 1 },
2980
+ { 0x20AC, 0x2103, 87 },
2981
+ { 0x2105, 0x2109, 4 },
2982
+ { 0x2113, 0x2116, 3 },
2983
+ { 0x2121, 0x2122, 1 },
2984
+ { 0x2126, 0x212B, 5 },
2985
+ { 0x2153, 0x2154, 1 },
2986
+ { 0x215B, 0x215E, 1 },
2987
+ { 0x2160, 0x216B, 1 },
2988
+ { 0x2170, 0x2179, 1 },
2989
+ { 0x2189, 0x2190, 7 },
2990
+ { 0x2191, 0x2199, 1 },
2991
+ { 0x21B8, 0x21B9, 1 },
2992
+ { 0x21D2, 0x21D4, 2 },
2993
+ { 0x21E7, 0x2200, 25 },
2994
+ { 0x2202, 0x2203, 1 },
2995
+ { 0x2207, 0x2208, 1 },
2996
+ { 0x220B, 0x220F, 4 },
2997
+ { 0x2211, 0x2215, 4 },
2998
+ { 0x221A, 0x221D, 3 },
2999
+ { 0x221E, 0x2220, 1 },
3000
+ { 0x2223, 0x2227, 2 },
3001
+ { 0x2228, 0x222C, 1 },
3002
+ { 0x222E, 0x2234, 6 },
3003
+ { 0x2235, 0x2237, 1 },
3004
+ { 0x223C, 0x223D, 1 },
3005
+ { 0x2248, 0x224C, 4 },
3006
+ { 0x2252, 0x2260, 14 },
3007
+ { 0x2261, 0x2264, 3 },
3008
+ { 0x2265, 0x2267, 1 },
3009
+ { 0x226A, 0x226B, 1 },
3010
+ { 0x226E, 0x226F, 1 },
3011
+ { 0x2282, 0x2283, 1 },
3012
+ { 0x2286, 0x2287, 1 },
3013
+ { 0x2295, 0x2299, 4 },
3014
+ { 0x22A5, 0x22BF, 26 },
3015
+ { 0x2312, 0x2460, 334 },
3016
+ { 0x2461, 0x24E9, 1 },
3017
+ { 0x24EB, 0x254B, 1 },
3018
+ { 0x2550, 0x2573, 1 },
3019
+ { 0x2580, 0x258F, 1 },
3020
+ { 0x2592, 0x2595, 1 },
3021
+ { 0x25A0, 0x25A1, 1 },
3022
+ { 0x25A3, 0x25A9, 1 },
3023
+ { 0x25B2, 0x25B3, 1 },
3024
+ { 0x25B6, 0x25B7, 1 },
3025
+ { 0x25BC, 0x25BD, 1 },
3026
+ { 0x25C0, 0x25C1, 1 },
3027
+ { 0x25C6, 0x25C8, 1 },
3028
+ { 0x25CB, 0x25CE, 3 },
3029
+ { 0x25CF, 0x25D1, 1 },
3030
+ { 0x25E2, 0x25E5, 1 },
3031
+ { 0x25EF, 0x2605, 22 },
3032
+ { 0x2606, 0x2609, 3 },
3033
+ { 0x260E, 0x260F, 1 },
3034
+ { 0x2614, 0x2615, 1 },
3035
+ { 0x261C, 0x261E, 2 },
3036
+ { 0x2640, 0x2642, 2 },
3037
+ { 0x2660, 0x2661, 1 },
3038
+ { 0x2663, 0x2665, 1 },
3039
+ { 0x2667, 0x266A, 1 },
3040
+ { 0x266C, 0x266D, 1 },
3041
+ { 0x266F, 0x269E, 47 },
3042
+ { 0x269F, 0x26BE, 31 },
3043
+ { 0x26BF, 0x26C4, 5 },
3044
+ { 0x26C5, 0x26CD, 1 },
3045
+ { 0x26CF, 0x26E1, 1 },
3046
+ { 0x26E3, 0x26E8, 5 },
3047
+ { 0x26E9, 0x26FF, 1 },
3048
+ { 0x273D, 0x2757, 26 },
3049
+ { 0x2776, 0x277F, 1 },
3050
+ { 0x2B55, 0x2B59, 1 },
3051
+ { 0x3248, 0x324F, 1 },
3052
+ { 0xE000, 0xF8FF, 1 },
3053
+ { 0xFE00, 0xFE0F, 1 },
3054
+ { 0xFFFD, 0x1F100, 61699 },
3055
+ { 0x1F101, 0x1F10A, 1 },
3056
+ { 0x1F110, 0x1F12D, 1 },
3057
+ { 0x1F130, 0x1F169, 1 },
3058
+ { 0x1F170, 0x1F19A, 1 },
3059
+ { 0xE0100, 0xE01EF, 1 },
3060
+ { 0xF0000, 0xFFFFD, 1 },
3061
+ { 0x100000, 0x10FFFD, 1 },
3062
+ };
3063
+
3064
+ #endif /* unidata_h */