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