1 static const uint32_t to_ucs4
[256] = {
254 static const struct gap from_idx
[] = {
255 { .start
= 0x0000, .end
= 0x007f, .idx
= 0 },
256 { .start
= 0x00a4, .end
= 0x00a4, .idx
= -36 },
257 { .start
= 0x00ab, .end
= 0x00ab, .idx
= -42 },
258 { .start
= 0x00bb, .end
= 0x00bb, .idx
= -57 },
259 { .start
= 0x00d7, .end
= 0x00d7, .idx
= -84 },
260 { .start
= 0x060c, .end
= 0x060c, .idx
= -1416 },
261 { .start
= 0x061b, .end
= 0x0652, .idx
= -1430 },
262 { .start
= 0x066a, .end
= 0x066c, .idx
= -1453 },
263 { .start
= 0x067e, .end
= 0x067e, .idx
= -1470 },
264 { .start
= 0x0686, .end
= 0x0686, .idx
= -1477 },
265 { .start
= 0x0698, .end
= 0x0698, .idx
= -1494 },
266 { .start
= 0x06a9, .end
= 0x06af, .idx
= -1510 },
267 { .start
= 0x06cc, .end
= 0x06cc, .idx
= -1538 },
268 { .start
= 0x06f0, .end
= 0x06f9, .idx
= -1573 },
269 { .start
= 0x200c, .end
= 0x200d, .idx
= -7991 },
270 { .start
= 0xffff, .end
= 0xffff, .idx
= 0 }
272 static const char from_ucs4
[] = {
274 '\x00', '\x01', '\x02', '\x03', '\x04', '\x05', '\x06', '\x07',
275 '\x08', '\x09', '\x0a', '\x0b', '\x0c', '\x0d', '\x0e', '\x0f',
276 '\x10', '\x11', '\x12', '\x13', '\x14', '\x15', '\x16', '\x17',
277 '\x18', '\x19', '\x1a', '\x1b', '\x1c', '\x1d', '\x1e', '\x1f',
278 '\x20', '\x21', '\x22', '\x23', '\x24', '\x25', '\x26', '\x27',
279 '\x28', '\x29', '\x2a', '\x2b', '\x2c', '\x2d', '\x2e', '\x2f',
280 '\x30', '\x31', '\x32', '\x33', '\x34', '\x35', '\x36', '\x37',
281 '\x38', '\x39', '\x3a', '\x3b', '\x3c', '\x3d', '\x3e', '\x3f',
282 '\x40', '\x41', '\x42', '\x43', '\x44', '\x45', '\x46', '\x47',
283 '\x48', '\x49', '\x4a', '\x4b', '\x4c', '\x4d', '\x4e', '\x4f',
284 '\x50', '\x51', '\x52', '\x53', '\x54', '\x55', '\x56', '\x57',
285 '\x58', '\x59', '\x5a', '\x5b', '\x5c', '\x5d', '\x5e', '\x5f',
286 '\x60', '\x61', '\x62', '\x63', '\x64', '\x65', '\x66', '\x67',
287 '\x68', '\x69', '\x6a', '\x6b', '\x6c', '\x6d', '\x6e', '\x6f',
288 '\x70', '\x71', '\x72', '\x73', '\x74', '\x75', '\x76', '\x77',
289 '\x78', '\x79', '\x7a', '\x7b', '\x7c', '\x7d', '\x7e', '\x7f',
301 '\xbb', '\x00', '\x00', '\x00', '\xbf', '\x00', '\xc2', '\xc0',
302 '\xf8', '\xf9', '\xfa', '\xfb', '\xc1', '\xc3', '\xfc', '\xc5',
303 '\xc6', '\xc7', '\xc9', '\xca', '\xcb', '\xcc', '\xcd', '\xce',
304 '\xd0', '\xd1', '\xd2', '\xd3', '\xd4', '\xd5', '\xd6', '\xd7',
305 '\x00', '\x00', '\x00', '\x00', '\x00', '\xe9', '\xd8', '\xd9',
306 '\xfd', '\xdc', '\xdd', '\xde', '\xe0', '\xdf', '\x00', '\xfe',
307 '\xf3', '\xf5', '\xf4', '\xf0', '\xf2', '\xf1', '\xf6', '\xf7',
309 '\xa5', '\xae', '\xa7',
317 '\xda', '\x00', '\x00', '\x00', '\x00', '\x00', '\xdb',
321 '\xb0', '\xb1', '\xb2', '\xb3', '\xb4', '\xb5', '\xb6', '\xb7',