| 1 | /* src/backend/utils/mb/Unicode/win874_to_utf8.map */ |
| 2 | /* This file is generated by src/backend/utils/mb/Unicode/UCS_to_most.pl */ |
| 3 | |
| 4 | static const uint32 win874_to_unicode_tree_table[248]; |
| 5 | |
| 6 | static const pg_mb_radix_tree win874_to_unicode_tree = |
| 7 | { |
| 8 | NULL, /* 16-bit table not used */ |
| 9 | win874_to_unicode_tree_table, |
| 10 | |
| 11 | 0x007c, /* offset of table for 1-byte inputs */ |
| 12 | 0x80, /* b1_lower */ |
| 13 | 0xfb, /* b1_upper */ |
| 14 | |
| 15 | 0x0000, /* offset of table for 2-byte inputs */ |
| 16 | 0x00, /* b2_1_lower */ |
| 17 | 0x00, /* b2_1_upper */ |
| 18 | 0x00, /* b2_2_lower */ |
| 19 | 0x00, /* b2_2_upper */ |
| 20 | |
| 21 | 0x0000, /* offset of table for 3-byte inputs */ |
| 22 | 0x00, /* b3_1_lower */ |
| 23 | 0x00, /* b3_1_upper */ |
| 24 | 0x00, /* b3_2_lower */ |
| 25 | 0x00, /* b3_2_upper */ |
| 26 | 0x00, /* b3_3_lower */ |
| 27 | 0x00, /* b3_3_upper */ |
| 28 | |
| 29 | 0x0000, /* offset of table for 3-byte inputs */ |
| 30 | 0x00, /* b4_1_lower */ |
| 31 | 0x00, /* b4_1_upper */ |
| 32 | 0x00, /* b4_2_lower */ |
| 33 | 0x00, /* b4_2_upper */ |
| 34 | 0x00, /* b4_3_lower */ |
| 35 | 0x00, /* b4_3_upper */ |
| 36 | 0x00, /* b4_4_lower */ |
| 37 | 0x00 /* b4_4_upper */ |
| 38 | }; |
| 39 | |
| 40 | static const uint32 win874_to_unicode_tree_table[248] = |
| 41 | { |
| 42 | /*** Dummy map, for invalid values - offset 0x00000 ***/ |
| 43 | |
| 44 | /* 00 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 45 | /* 04 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 46 | /* 08 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 47 | /* 0c */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 48 | /* 10 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 49 | /* 14 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 50 | /* 18 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 51 | /* 1c */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 52 | /* 20 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 53 | /* 24 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 54 | /* 28 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 55 | /* 2c */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 56 | /* 30 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 57 | /* 34 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 58 | /* 38 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 59 | /* 3c */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 60 | /* 40 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 61 | /* 44 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 62 | /* 48 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 63 | /* 4c */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 64 | /* 50 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 65 | /* 54 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 66 | /* 58 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 67 | /* 5c */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 68 | /* 60 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 69 | /* 64 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 70 | /* 68 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 71 | /* 6c */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 72 | /* 70 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 73 | /* 74 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 74 | /* 78 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 75 | |
| 76 | /*** Single byte table, leaf: xx - offset 0x0007c ***/ |
| 77 | |
| 78 | /* 80 */ 0xe282ac, 0x000000, 0x000000, 0x000000, |
| 79 | /* 84 */ 0x000000, 0xe280a6, 0x000000, 0x000000, |
| 80 | /* 88 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 81 | /* 8c */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 82 | /* 90 */ 0x000000, 0xe28098, 0xe28099, 0xe2809c, |
| 83 | /* 94 */ 0xe2809d, 0xe280a2, 0xe28093, 0xe28094, |
| 84 | /* 98 */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 85 | /* 9c */ 0x000000, 0x000000, 0x000000, 0x000000, |
| 86 | /* a0 */ 0x00c2a0, 0xe0b881, 0xe0b882, 0xe0b883, |
| 87 | /* a4 */ 0xe0b884, 0xe0b885, 0xe0b886, 0xe0b887, |
| 88 | /* a8 */ 0xe0b888, 0xe0b889, 0xe0b88a, 0xe0b88b, |
| 89 | /* ac */ 0xe0b88c, 0xe0b88d, 0xe0b88e, 0xe0b88f, |
| 90 | /* b0 */ 0xe0b890, 0xe0b891, 0xe0b892, 0xe0b893, |
| 91 | /* b4 */ 0xe0b894, 0xe0b895, 0xe0b896, 0xe0b897, |
| 92 | /* b8 */ 0xe0b898, 0xe0b899, 0xe0b89a, 0xe0b89b, |
| 93 | /* bc */ 0xe0b89c, 0xe0b89d, 0xe0b89e, 0xe0b89f, |
| 94 | /* c0 */ 0xe0b8a0, 0xe0b8a1, 0xe0b8a2, 0xe0b8a3, |
| 95 | /* c4 */ 0xe0b8a4, 0xe0b8a5, 0xe0b8a6, 0xe0b8a7, |
| 96 | /* c8 */ 0xe0b8a8, 0xe0b8a9, 0xe0b8aa, 0xe0b8ab, |
| 97 | /* cc */ 0xe0b8ac, 0xe0b8ad, 0xe0b8ae, 0xe0b8af, |
| 98 | /* d0 */ 0xe0b8b0, 0xe0b8b1, 0xe0b8b2, 0xe0b8b3, |
| 99 | /* d4 */ 0xe0b8b4, 0xe0b8b5, 0xe0b8b6, 0xe0b8b7, |
| 100 | /* d8 */ 0xe0b8b8, 0xe0b8b9, 0xe0b8ba, 0x000000, |
| 101 | /* dc */ 0x000000, 0x000000, 0x000000, 0xe0b8bf, |
| 102 | /* e0 */ 0xe0b980, 0xe0b981, 0xe0b982, 0xe0b983, |
| 103 | /* e4 */ 0xe0b984, 0xe0b985, 0xe0b986, 0xe0b987, |
| 104 | /* e8 */ 0xe0b988, 0xe0b989, 0xe0b98a, 0xe0b98b, |
| 105 | /* ec */ 0xe0b98c, 0xe0b98d, 0xe0b98e, 0xe0b98f, |
| 106 | /* f0 */ 0xe0b990, 0xe0b991, 0xe0b992, 0xe0b993, |
| 107 | /* f4 */ 0xe0b994, 0xe0b995, 0xe0b996, 0xe0b997, |
| 108 | /* f8 */ 0xe0b998, 0xe0b999, 0xe0b99a, 0xe0b99b |
| 109 | }; |
| 110 | |