blob: 20a02dec33f2498eb7d38da4588f49765e5bd1b1 [file] [log] [blame]
ChaiShushan64379b82013-12-17 06:52:32 -08001// Copyright 2013 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
Russ Coxe9d5a642012-03-06 00:36:12 -05005// DO NOT EDIT. GENERATED BY
ChaiShushan5db510f2014-08-28 14:55:02 -07006// go run makeisprint.go -output isprint.go
Russ Coxe9d5a642012-03-06 00:36:12 -05007
8package strconv
9
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +020010// (470+136+73)*2 + (342)*4 = 2726 bytes
Russ Coxe9d5a642012-03-06 00:36:12 -050011
12var isPrint16 = []uint16{
13 0x0020, 0x007e,
14 0x00a1, 0x0377,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +020015 0x037a, 0x037f,
16 0x0384, 0x0556,
Russ Coxe9d5a642012-03-06 00:36:12 -050017 0x0559, 0x058a,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +020018 0x058d, 0x05c7,
Russ Coxe9d5a642012-03-06 00:36:12 -050019 0x05d0, 0x05ea,
20 0x05f0, 0x05f4,
21 0x0606, 0x061b,
22 0x061e, 0x070d,
23 0x0710, 0x074a,
24 0x074d, 0x07b1,
25 0x07c0, 0x07fa,
26 0x0800, 0x082d,
27 0x0830, 0x085b,
28 0x085e, 0x085e,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +020029 0x08a0, 0x08b4,
30 0x08e3, 0x098c,
Russ Coxe9d5a642012-03-06 00:36:12 -050031 0x098f, 0x0990,
32 0x0993, 0x09b2,
33 0x09b6, 0x09b9,
34 0x09bc, 0x09c4,
35 0x09c7, 0x09c8,
36 0x09cb, 0x09ce,
37 0x09d7, 0x09d7,
38 0x09dc, 0x09e3,
39 0x09e6, 0x09fb,
40 0x0a01, 0x0a0a,
41 0x0a0f, 0x0a10,
42 0x0a13, 0x0a39,
43 0x0a3c, 0x0a42,
44 0x0a47, 0x0a48,
45 0x0a4b, 0x0a4d,
46 0x0a51, 0x0a51,
47 0x0a59, 0x0a5e,
48 0x0a66, 0x0a75,
49 0x0a81, 0x0ab9,
50 0x0abc, 0x0acd,
51 0x0ad0, 0x0ad0,
52 0x0ae0, 0x0ae3,
53 0x0ae6, 0x0af1,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +020054 0x0af9, 0x0af9,
Russ Coxe9d5a642012-03-06 00:36:12 -050055 0x0b01, 0x0b0c,
56 0x0b0f, 0x0b10,
57 0x0b13, 0x0b39,
58 0x0b3c, 0x0b44,
59 0x0b47, 0x0b48,
60 0x0b4b, 0x0b4d,
61 0x0b56, 0x0b57,
62 0x0b5c, 0x0b63,
63 0x0b66, 0x0b77,
64 0x0b82, 0x0b8a,
65 0x0b8e, 0x0b95,
66 0x0b99, 0x0b9f,
67 0x0ba3, 0x0ba4,
68 0x0ba8, 0x0baa,
69 0x0bae, 0x0bb9,
70 0x0bbe, 0x0bc2,
71 0x0bc6, 0x0bcd,
72 0x0bd0, 0x0bd0,
73 0x0bd7, 0x0bd7,
74 0x0be6, 0x0bfa,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +020075 0x0c00, 0x0c39,
Russ Coxe9d5a642012-03-06 00:36:12 -050076 0x0c3d, 0x0c4d,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +020077 0x0c55, 0x0c5a,
Russ Coxe9d5a642012-03-06 00:36:12 -050078 0x0c60, 0x0c63,
79 0x0c66, 0x0c6f,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +020080 0x0c78, 0x0cb9,
Russ Coxe9d5a642012-03-06 00:36:12 -050081 0x0cbc, 0x0ccd,
82 0x0cd5, 0x0cd6,
83 0x0cde, 0x0ce3,
84 0x0ce6, 0x0cf2,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +020085 0x0d01, 0x0d3a,
Russ Coxe9d5a642012-03-06 00:36:12 -050086 0x0d3d, 0x0d4e,
87 0x0d57, 0x0d57,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +020088 0x0d5f, 0x0d63,
Russ Coxe9d5a642012-03-06 00:36:12 -050089 0x0d66, 0x0d75,
90 0x0d79, 0x0d7f,
91 0x0d82, 0x0d96,
92 0x0d9a, 0x0dbd,
93 0x0dc0, 0x0dc6,
94 0x0dca, 0x0dca,
95 0x0dcf, 0x0ddf,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +020096 0x0de6, 0x0def,
Russ Coxe9d5a642012-03-06 00:36:12 -050097 0x0df2, 0x0df4,
98 0x0e01, 0x0e3a,
99 0x0e3f, 0x0e5b,
100 0x0e81, 0x0e84,
101 0x0e87, 0x0e8a,
102 0x0e8d, 0x0e8d,
103 0x0e94, 0x0ea7,
104 0x0eaa, 0x0ebd,
105 0x0ec0, 0x0ecd,
106 0x0ed0, 0x0ed9,
Rob Pikea90b3a52012-10-31 10:11:04 -0700107 0x0edc, 0x0edf,
Russ Coxe9d5a642012-03-06 00:36:12 -0500108 0x0f00, 0x0f6c,
109 0x0f71, 0x0fda,
Rob Pikea90b3a52012-10-31 10:11:04 -0700110 0x1000, 0x10c7,
111 0x10cd, 0x10cd,
112 0x10d0, 0x124d,
Russ Coxe9d5a642012-03-06 00:36:12 -0500113 0x1250, 0x125d,
114 0x1260, 0x128d,
115 0x1290, 0x12b5,
116 0x12b8, 0x12c5,
117 0x12c8, 0x1315,
118 0x1318, 0x135a,
119 0x135d, 0x137c,
120 0x1380, 0x1399,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200121 0x13a0, 0x13f5,
122 0x13f8, 0x13fd,
Russ Coxe9d5a642012-03-06 00:36:12 -0500123 0x1400, 0x169c,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200124 0x16a0, 0x16f8,
Russ Coxe9d5a642012-03-06 00:36:12 -0500125 0x1700, 0x1714,
126 0x1720, 0x1736,
127 0x1740, 0x1753,
128 0x1760, 0x1773,
Rob Pikea90b3a52012-10-31 10:11:04 -0700129 0x1780, 0x17dd,
Russ Coxe9d5a642012-03-06 00:36:12 -0500130 0x17e0, 0x17e9,
131 0x17f0, 0x17f9,
132 0x1800, 0x180d,
133 0x1810, 0x1819,
134 0x1820, 0x1877,
135 0x1880, 0x18aa,
136 0x18b0, 0x18f5,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200137 0x1900, 0x192b,
Russ Coxe9d5a642012-03-06 00:36:12 -0500138 0x1930, 0x193b,
139 0x1940, 0x1940,
140 0x1944, 0x196d,
141 0x1970, 0x1974,
142 0x1980, 0x19ab,
143 0x19b0, 0x19c9,
144 0x19d0, 0x19da,
145 0x19de, 0x1a1b,
146 0x1a1e, 0x1a7c,
147 0x1a7f, 0x1a89,
148 0x1a90, 0x1a99,
149 0x1aa0, 0x1aad,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200150 0x1ab0, 0x1abe,
Russ Coxe9d5a642012-03-06 00:36:12 -0500151 0x1b00, 0x1b4b,
152 0x1b50, 0x1b7c,
Rob Pikea90b3a52012-10-31 10:11:04 -0700153 0x1b80, 0x1bf3,
Russ Coxe9d5a642012-03-06 00:36:12 -0500154 0x1bfc, 0x1c37,
155 0x1c3b, 0x1c49,
156 0x1c4d, 0x1c7f,
Rob Pikea90b3a52012-10-31 10:11:04 -0700157 0x1cc0, 0x1cc7,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200158 0x1cd0, 0x1cf9,
159 0x1d00, 0x1df5,
Russ Coxe9d5a642012-03-06 00:36:12 -0500160 0x1dfc, 0x1f15,
161 0x1f18, 0x1f1d,
162 0x1f20, 0x1f45,
163 0x1f48, 0x1f4d,
164 0x1f50, 0x1f7d,
165 0x1f80, 0x1fd3,
166 0x1fd6, 0x1fef,
167 0x1ff2, 0x1ffe,
168 0x2010, 0x2027,
169 0x2030, 0x205e,
170 0x2070, 0x2071,
171 0x2074, 0x209c,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200172 0x20a0, 0x20be,
Russ Coxe9d5a642012-03-06 00:36:12 -0500173 0x20d0, 0x20f0,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200174 0x2100, 0x218b,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200175 0x2190, 0x23fa,
Russ Coxe9d5a642012-03-06 00:36:12 -0500176 0x2400, 0x2426,
177 0x2440, 0x244a,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200178 0x2460, 0x2b73,
179 0x2b76, 0x2b95,
180 0x2b98, 0x2bb9,
181 0x2bbd, 0x2bd1,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200182 0x2bec, 0x2bef,
Rob Pikea90b3a52012-10-31 10:11:04 -0700183 0x2c00, 0x2cf3,
184 0x2cf9, 0x2d27,
185 0x2d2d, 0x2d2d,
186 0x2d30, 0x2d67,
Russ Coxe9d5a642012-03-06 00:36:12 -0500187 0x2d6f, 0x2d70,
188 0x2d7f, 0x2d96,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200189 0x2da0, 0x2e42,
Russ Coxe9d5a642012-03-06 00:36:12 -0500190 0x2e80, 0x2ef3,
191 0x2f00, 0x2fd5,
192 0x2ff0, 0x2ffb,
193 0x3001, 0x3096,
194 0x3099, 0x30ff,
195 0x3105, 0x312d,
196 0x3131, 0x31ba,
197 0x31c0, 0x31e3,
198 0x31f0, 0x4db5,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200199 0x4dc0, 0x9fd5,
Russ Coxe9d5a642012-03-06 00:36:12 -0500200 0xa000, 0xa48c,
201 0xa490, 0xa4c6,
202 0xa4d0, 0xa62b,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200203 0xa640, 0xa6f7,
204 0xa700, 0xa7ad,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200205 0xa7b0, 0xa7b7,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200206 0xa7f7, 0xa82b,
Russ Coxe9d5a642012-03-06 00:36:12 -0500207 0xa830, 0xa839,
208 0xa840, 0xa877,
209 0xa880, 0xa8c4,
210 0xa8ce, 0xa8d9,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200211 0xa8e0, 0xa8fd,
Russ Coxe9d5a642012-03-06 00:36:12 -0500212 0xa900, 0xa953,
213 0xa95f, 0xa97c,
214 0xa980, 0xa9d9,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200215 0xa9de, 0xaa36,
Russ Coxe9d5a642012-03-06 00:36:12 -0500216 0xaa40, 0xaa4d,
217 0xaa50, 0xaa59,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200218 0xaa5c, 0xaac2,
Rob Pikea90b3a52012-10-31 10:11:04 -0700219 0xaadb, 0xaaf6,
Russ Coxe9d5a642012-03-06 00:36:12 -0500220 0xab01, 0xab06,
221 0xab09, 0xab0e,
222 0xab11, 0xab16,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200223 0xab20, 0xab65,
224 0xab70, 0xabed,
Russ Coxe9d5a642012-03-06 00:36:12 -0500225 0xabf0, 0xabf9,
226 0xac00, 0xd7a3,
227 0xd7b0, 0xd7c6,
228 0xd7cb, 0xd7fb,
Rob Pikea90b3a52012-10-31 10:11:04 -0700229 0xf900, 0xfa6d,
Russ Coxe9d5a642012-03-06 00:36:12 -0500230 0xfa70, 0xfad9,
231 0xfb00, 0xfb06,
232 0xfb13, 0xfb17,
233 0xfb1d, 0xfbc1,
234 0xfbd3, 0xfd3f,
235 0xfd50, 0xfd8f,
236 0xfd92, 0xfdc7,
237 0xfdf0, 0xfdfd,
238 0xfe00, 0xfe19,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200239 0xfe20, 0xfe6b,
Russ Coxe9d5a642012-03-06 00:36:12 -0500240 0xfe70, 0xfefc,
241 0xff01, 0xffbe,
242 0xffc2, 0xffc7,
243 0xffca, 0xffcf,
244 0xffd2, 0xffd7,
245 0xffda, 0xffdc,
246 0xffe0, 0xffee,
247 0xfffc, 0xfffd,
248}
249
250var isNotPrint16 = []uint16{
251 0x00ad,
252 0x038b,
253 0x038d,
254 0x03a2,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200255 0x0530,
Russ Coxe9d5a642012-03-06 00:36:12 -0500256 0x0560,
257 0x0588,
Rob Pikea90b3a52012-10-31 10:11:04 -0700258 0x0590,
Russ Coxe9d5a642012-03-06 00:36:12 -0500259 0x06dd,
260 0x083f,
Russ Coxe9d5a642012-03-06 00:36:12 -0500261 0x0984,
262 0x09a9,
263 0x09b1,
264 0x09de,
265 0x0a04,
266 0x0a29,
267 0x0a31,
268 0x0a34,
269 0x0a37,
270 0x0a3d,
271 0x0a5d,
272 0x0a84,
273 0x0a8e,
274 0x0a92,
275 0x0aa9,
276 0x0ab1,
277 0x0ab4,
278 0x0ac6,
279 0x0aca,
Russ Coxe9d5a642012-03-06 00:36:12 -0500280 0x0b04,
281 0x0b29,
282 0x0b31,
283 0x0b34,
284 0x0b5e,
285 0x0b84,
286 0x0b91,
287 0x0b9b,
288 0x0b9d,
289 0x0bc9,
290 0x0c04,
291 0x0c0d,
292 0x0c11,
293 0x0c29,
Russ Coxe9d5a642012-03-06 00:36:12 -0500294 0x0c45,
295 0x0c49,
296 0x0c57,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200297 0x0c80,
Russ Coxe9d5a642012-03-06 00:36:12 -0500298 0x0c84,
299 0x0c8d,
300 0x0c91,
301 0x0ca9,
302 0x0cb4,
303 0x0cc5,
304 0x0cc9,
305 0x0cdf,
306 0x0cf0,
307 0x0d04,
308 0x0d0d,
309 0x0d11,
310 0x0d45,
311 0x0d49,
312 0x0d84,
313 0x0db2,
314 0x0dbc,
315 0x0dd5,
316 0x0dd7,
317 0x0e83,
318 0x0e89,
319 0x0e98,
320 0x0ea0,
321 0x0ea4,
322 0x0ea6,
323 0x0eac,
324 0x0eba,
325 0x0ec5,
326 0x0ec7,
327 0x0f48,
328 0x0f98,
329 0x0fbd,
330 0x0fcd,
Rob Pikea90b3a52012-10-31 10:11:04 -0700331 0x10c6,
Russ Coxe9d5a642012-03-06 00:36:12 -0500332 0x1249,
333 0x1257,
334 0x1259,
335 0x1289,
336 0x12b1,
337 0x12bf,
338 0x12c1,
339 0x12d7,
340 0x1311,
341 0x1680,
342 0x170d,
343 0x176d,
344 0x1771,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200345 0x191f,
Russ Coxe9d5a642012-03-06 00:36:12 -0500346 0x1a5f,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200347 0x1cf7,
Russ Coxe9d5a642012-03-06 00:36:12 -0500348 0x1f58,
349 0x1f5a,
350 0x1f5c,
351 0x1f5e,
352 0x1fb5,
353 0x1fc5,
354 0x1fdc,
355 0x1ff5,
356 0x208f,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200357 0x2bc9,
Russ Coxe9d5a642012-03-06 00:36:12 -0500358 0x2c2f,
359 0x2c5f,
Rob Pikea90b3a52012-10-31 10:11:04 -0700360 0x2d26,
Russ Coxe9d5a642012-03-06 00:36:12 -0500361 0x2da7,
362 0x2daf,
363 0x2db7,
364 0x2dbf,
365 0x2dc7,
366 0x2dcf,
367 0x2dd7,
368 0x2ddf,
369 0x2e9a,
370 0x3040,
371 0x318f,
372 0x321f,
373 0x32ff,
Russ Coxe9d5a642012-03-06 00:36:12 -0500374 0xa9ce,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200375 0xa9ff,
Russ Coxe9d5a642012-03-06 00:36:12 -0500376 0xab27,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200377 0xab2f,
Russ Coxe9d5a642012-03-06 00:36:12 -0500378 0xfb37,
379 0xfb3d,
380 0xfb3f,
381 0xfb42,
382 0xfb45,
383 0xfe53,
384 0xfe67,
385 0xfe75,
386 0xffe7,
387}
388
389var isPrint32 = []uint32{
Rob Pikef91326b2012-03-07 13:50:31 +1100390 0x010000, 0x01004d,
391 0x010050, 0x01005d,
392 0x010080, 0x0100fa,
393 0x010100, 0x010102,
394 0x010107, 0x010133,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200395 0x010137, 0x01018c,
Rob Pikef91326b2012-03-07 13:50:31 +1100396 0x010190, 0x01019b,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200397 0x0101a0, 0x0101a0,
Rob Pikef91326b2012-03-07 13:50:31 +1100398 0x0101d0, 0x0101fd,
399 0x010280, 0x01029c,
400 0x0102a0, 0x0102d0,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200401 0x0102e0, 0x0102fb,
Rob Pikef91326b2012-03-07 13:50:31 +1100402 0x010300, 0x010323,
403 0x010330, 0x01034a,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200404 0x010350, 0x01037a,
Rob Pikef91326b2012-03-07 13:50:31 +1100405 0x010380, 0x0103c3,
406 0x0103c8, 0x0103d5,
407 0x010400, 0x01049d,
408 0x0104a0, 0x0104a9,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200409 0x010500, 0x010527,
410 0x010530, 0x010563,
411 0x01056f, 0x01056f,
412 0x010600, 0x010736,
413 0x010740, 0x010755,
414 0x010760, 0x010767,
Rob Pikef91326b2012-03-07 13:50:31 +1100415 0x010800, 0x010805,
416 0x010808, 0x010838,
417 0x01083c, 0x01083c,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200418 0x01083f, 0x01089e,
419 0x0108a7, 0x0108af,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200420 0x0108e0, 0x0108f5,
421 0x0108fb, 0x01091b,
Rob Pikef91326b2012-03-07 13:50:31 +1100422 0x01091f, 0x010939,
423 0x01093f, 0x01093f,
Rob Pikea90b3a52012-10-31 10:11:04 -0700424 0x010980, 0x0109b7,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200425 0x0109bc, 0x0109cf,
426 0x0109d2, 0x010a06,
Rob Pikef91326b2012-03-07 13:50:31 +1100427 0x010a0c, 0x010a33,
428 0x010a38, 0x010a3a,
429 0x010a3f, 0x010a47,
430 0x010a50, 0x010a58,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200431 0x010a60, 0x010a9f,
432 0x010ac0, 0x010ae6,
433 0x010aeb, 0x010af6,
Rob Pikef91326b2012-03-07 13:50:31 +1100434 0x010b00, 0x010b35,
435 0x010b39, 0x010b55,
436 0x010b58, 0x010b72,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200437 0x010b78, 0x010b91,
438 0x010b99, 0x010b9c,
439 0x010ba9, 0x010baf,
Rob Pikef91326b2012-03-07 13:50:31 +1100440 0x010c00, 0x010c48,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200441 0x010c80, 0x010cb2,
442 0x010cc0, 0x010cf2,
443 0x010cfa, 0x010cff,
Rob Pikef91326b2012-03-07 13:50:31 +1100444 0x010e60, 0x010e7e,
445 0x011000, 0x01104d,
446 0x011052, 0x01106f,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200447 0x01107f, 0x0110c1,
Rob Pikea90b3a52012-10-31 10:11:04 -0700448 0x0110d0, 0x0110e8,
449 0x0110f0, 0x0110f9,
450 0x011100, 0x011143,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200451 0x011150, 0x011176,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200452 0x011180, 0x0111cd,
453 0x0111d0, 0x0111f4,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200454 0x011200, 0x01123d,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200455 0x011280, 0x0112a9,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200456 0x0112b0, 0x0112ea,
457 0x0112f0, 0x0112f9,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200458 0x011300, 0x01130c,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200459 0x01130f, 0x011310,
460 0x011313, 0x011339,
461 0x01133c, 0x011344,
462 0x011347, 0x011348,
463 0x01134b, 0x01134d,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200464 0x011350, 0x011350,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200465 0x011357, 0x011357,
466 0x01135d, 0x011363,
467 0x011366, 0x01136c,
468 0x011370, 0x011374,
469 0x011480, 0x0114c7,
470 0x0114d0, 0x0114d9,
471 0x011580, 0x0115b5,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200472 0x0115b8, 0x0115dd,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200473 0x011600, 0x011644,
474 0x011650, 0x011659,
Rob Pikea90b3a52012-10-31 10:11:04 -0700475 0x011680, 0x0116b7,
476 0x0116c0, 0x0116c9,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200477 0x011700, 0x011719,
478 0x01171d, 0x01172b,
479 0x011730, 0x01173f,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200480 0x0118a0, 0x0118f2,
481 0x0118ff, 0x0118ff,
482 0x011ac0, 0x011af8,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200483 0x012000, 0x012399,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200484 0x012400, 0x012474,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200485 0x012480, 0x012543,
Rob Pikef91326b2012-03-07 13:50:31 +1100486 0x013000, 0x01342e,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200487 0x014400, 0x014646,
Rob Pikef91326b2012-03-07 13:50:31 +1100488 0x016800, 0x016a38,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200489 0x016a40, 0x016a69,
490 0x016a6e, 0x016a6f,
491 0x016ad0, 0x016aed,
492 0x016af0, 0x016af5,
493 0x016b00, 0x016b45,
494 0x016b50, 0x016b77,
495 0x016b7d, 0x016b8f,
Rob Pikea90b3a52012-10-31 10:11:04 -0700496 0x016f00, 0x016f44,
497 0x016f50, 0x016f7e,
498 0x016f8f, 0x016f9f,
Rob Pikef91326b2012-03-07 13:50:31 +1100499 0x01b000, 0x01b001,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200500 0x01bc00, 0x01bc6a,
501 0x01bc70, 0x01bc7c,
502 0x01bc80, 0x01bc88,
503 0x01bc90, 0x01bc99,
504 0x01bc9c, 0x01bc9f,
Rob Pikef91326b2012-03-07 13:50:31 +1100505 0x01d000, 0x01d0f5,
506 0x01d100, 0x01d126,
507 0x01d129, 0x01d172,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200508 0x01d17b, 0x01d1e8,
Rob Pikef91326b2012-03-07 13:50:31 +1100509 0x01d200, 0x01d245,
510 0x01d300, 0x01d356,
511 0x01d360, 0x01d371,
512 0x01d400, 0x01d49f,
513 0x01d4a2, 0x01d4a2,
514 0x01d4a5, 0x01d4a6,
515 0x01d4a9, 0x01d50a,
516 0x01d50d, 0x01d546,
517 0x01d54a, 0x01d6a5,
518 0x01d6a8, 0x01d7cb,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200519 0x01d7ce, 0x01da8b,
520 0x01da9b, 0x01daaf,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200521 0x01e800, 0x01e8c4,
522 0x01e8c7, 0x01e8d6,
Rob Pikea90b3a52012-10-31 10:11:04 -0700523 0x01ee00, 0x01ee24,
524 0x01ee27, 0x01ee3b,
525 0x01ee42, 0x01ee42,
526 0x01ee47, 0x01ee54,
527 0x01ee57, 0x01ee64,
528 0x01ee67, 0x01ee9b,
529 0x01eea1, 0x01eebb,
530 0x01eef0, 0x01eef1,
Rob Pikef91326b2012-03-07 13:50:31 +1100531 0x01f000, 0x01f02b,
532 0x01f030, 0x01f093,
533 0x01f0a0, 0x01f0ae,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200534 0x01f0b1, 0x01f0f5,
535 0x01f100, 0x01f10c,
Rob Pikea90b3a52012-10-31 10:11:04 -0700536 0x01f110, 0x01f16b,
Rob Pikef91326b2012-03-07 13:50:31 +1100537 0x01f170, 0x01f19a,
538 0x01f1e6, 0x01f202,
539 0x01f210, 0x01f23a,
540 0x01f240, 0x01f248,
541 0x01f250, 0x01f251,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200542 0x01f300, 0x01f6d0,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200543 0x01f6e0, 0x01f6ec,
544 0x01f6f0, 0x01f6f3,
Rob Pikef91326b2012-03-07 13:50:31 +1100545 0x01f700, 0x01f773,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200546 0x01f780, 0x01f7d4,
547 0x01f800, 0x01f80b,
548 0x01f810, 0x01f847,
549 0x01f850, 0x01f859,
550 0x01f860, 0x01f887,
551 0x01f890, 0x01f8ad,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200552 0x01f910, 0x01f918,
553 0x01f980, 0x01f984,
554 0x01f9c0, 0x01f9c0,
Rob Pikef91326b2012-03-07 13:50:31 +1100555 0x020000, 0x02a6d6,
556 0x02a700, 0x02b734,
557 0x02b740, 0x02b81d,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200558 0x02b820, 0x02cea1,
Rob Pikef91326b2012-03-07 13:50:31 +1100559 0x02f800, 0x02fa1d,
560 0x0e0100, 0x0e01ef,
Russ Coxe9d5a642012-03-06 00:36:12 -0500561}
562
Rob Pikef91326b2012-03-07 13:50:31 +1100563var isNotPrint32 = []uint16{ // add 0x10000 to each entry
564 0x000c,
565 0x0027,
566 0x003b,
567 0x003e,
Rob Pikef91326b2012-03-07 13:50:31 +1100568 0x039e,
569 0x0809,
570 0x0836,
571 0x0856,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200572 0x08f3,
Rob Pikef91326b2012-03-07 13:50:31 +1100573 0x0a04,
574 0x0a14,
575 0x0a18,
576 0x10bd,
Rob Pikea90b3a52012-10-31 10:11:04 -0700577 0x1135,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200578 0x11e0,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200579 0x1212,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200580 0x1287,
581 0x1289,
582 0x128e,
583 0x129e,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200584 0x1304,
585 0x1329,
586 0x1331,
587 0x1334,
588 0x246f,
589 0x6a5f,
590 0x6b5a,
591 0x6b62,
Rob Pikef91326b2012-03-07 13:50:31 +1100592 0xd455,
593 0xd49d,
594 0xd4ad,
595 0xd4ba,
596 0xd4bc,
597 0xd4c4,
598 0xd506,
599 0xd515,
600 0xd51d,
601 0xd53a,
602 0xd53f,
603 0xd545,
604 0xd551,
Marcel van Lohuizenfe15da62015-06-21 20:21:04 +0200605 0xdaa0,
Rob Pikea90b3a52012-10-31 10:11:04 -0700606 0xee04,
607 0xee20,
608 0xee23,
609 0xee28,
610 0xee33,
611 0xee38,
612 0xee3a,
613 0xee48,
614 0xee4a,
615 0xee4c,
616 0xee50,
617 0xee53,
618 0xee58,
619 0xee5a,
620 0xee5c,
621 0xee5e,
622 0xee60,
623 0xee63,
624 0xee6b,
625 0xee73,
626 0xee78,
627 0xee7d,
628 0xee7f,
629 0xee8a,
630 0xeea4,
631 0xeeaa,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200632 0xf0c0,
Rob Pikef91326b2012-03-07 13:50:31 +1100633 0xf0d0,
634 0xf12f,
Marcel van Lohuizen65d8cb92014-08-18 20:26:10 +0200635 0xf57a,
636 0xf5a4,
Russ Coxe9d5a642012-03-06 00:36:12 -0500637}
Rob Pike74288f02015-09-02 15:08:24 -0700638
639// isGraphic lists the graphic runes not matched by IsPrint.
640var isGraphic = []uint16{
641 0x00a0,
642 0x1680,
643 0x2000,
644 0x2001,
645 0x2002,
646 0x2003,
647 0x2004,
648 0x2005,
649 0x2006,
650 0x2007,
651 0x2008,
652 0x2009,
653 0x200a,
654 0x202f,
655 0x205f,
656 0x3000,
657}