diff options
Diffstat (limited to 'src/backend/utils/mb/Unicode/utf8_to_win1254.map')
-rw-r--r-- | src/backend/utils/mb/Unicode/utf8_to_win1254.map | 276 |
1 files changed, 154 insertions, 122 deletions
diff --git a/src/backend/utils/mb/Unicode/utf8_to_win1254.map b/src/backend/utils/mb/Unicode/utf8_to_win1254.map index 9ceb9665423..462b28fd6c7 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_win1254.map +++ b/src/backend/utils/mb/Unicode/utf8_to_win1254.map @@ -1,125 +1,157 @@ /* src/backend/utils/mb/Unicode/utf8_to_win1254.map */ +/* This file is generated by UCS_to_most.pl */ -static const pg_utf_to_local ULmapWIN1254[ 121 ] = { - {0xc2a0, 0x00a0}, - {0xc2a1, 0x00a1}, - {0xc2a2, 0x00a2}, - {0xc2a3, 0x00a3}, - {0xc2a4, 0x00a4}, - {0xc2a5, 0x00a5}, - {0xc2a6, 0x00a6}, - {0xc2a7, 0x00a7}, - {0xc2a8, 0x00a8}, - {0xc2a9, 0x00a9}, - {0xc2aa, 0x00aa}, - {0xc2ab, 0x00ab}, - {0xc2ac, 0x00ac}, - {0xc2ad, 0x00ad}, - {0xc2ae, 0x00ae}, - {0xc2af, 0x00af}, - {0xc2b0, 0x00b0}, - {0xc2b1, 0x00b1}, - {0xc2b2, 0x00b2}, - {0xc2b3, 0x00b3}, - {0xc2b4, 0x00b4}, - {0xc2b5, 0x00b5}, - {0xc2b6, 0x00b6}, - {0xc2b7, 0x00b7}, - {0xc2b8, 0x00b8}, - {0xc2b9, 0x00b9}, - {0xc2ba, 0x00ba}, - {0xc2bb, 0x00bb}, - {0xc2bc, 0x00bc}, - {0xc2bd, 0x00bd}, - {0xc2be, 0x00be}, - {0xc2bf, 0x00bf}, - {0xc380, 0x00c0}, - {0xc381, 0x00c1}, - {0xc382, 0x00c2}, - {0xc383, 0x00c3}, - {0xc384, 0x00c4}, - {0xc385, 0x00c5}, - {0xc386, 0x00c6}, - {0xc387, 0x00c7}, - {0xc388, 0x00c8}, - {0xc389, 0x00c9}, - {0xc38a, 0x00ca}, - {0xc38b, 0x00cb}, - {0xc38c, 0x00cc}, - {0xc38d, 0x00cd}, - {0xc38e, 0x00ce}, - {0xc38f, 0x00cf}, - {0xc391, 0x00d1}, - {0xc392, 0x00d2}, - {0xc393, 0x00d3}, - {0xc394, 0x00d4}, - {0xc395, 0x00d5}, - {0xc396, 0x00d6}, - {0xc397, 0x00d7}, - {0xc398, 0x00d8}, - {0xc399, 0x00d9}, - {0xc39a, 0x00da}, - {0xc39b, 0x00db}, - {0xc39c, 0x00dc}, - {0xc39f, 0x00df}, - {0xc3a0, 0x00e0}, - {0xc3a1, 0x00e1}, - {0xc3a2, 0x00e2}, - {0xc3a3, 0x00e3}, - {0xc3a4, 0x00e4}, - {0xc3a5, 0x00e5}, - {0xc3a6, 0x00e6}, - {0xc3a7, 0x00e7}, - {0xc3a8, 0x00e8}, - {0xc3a9, 0x00e9}, - {0xc3aa, 0x00ea}, - {0xc3ab, 0x00eb}, - {0xc3ac, 0x00ec}, - {0xc3ad, 0x00ed}, - {0xc3ae, 0x00ee}, - {0xc3af, 0x00ef}, - {0xc3b1, 0x00f1}, - {0xc3b2, 0x00f2}, - {0xc3b3, 0x00f3}, - {0xc3b4, 0x00f4}, - {0xc3b5, 0x00f5}, - {0xc3b6, 0x00f6}, - {0xc3b7, 0x00f7}, - {0xc3b8, 0x00f8}, - {0xc3b9, 0x00f9}, - {0xc3ba, 0x00fa}, - {0xc3bb, 0x00fb}, - {0xc3bc, 0x00fc}, - {0xc3bf, 0x00ff}, - {0xc49e, 0x00d0}, - {0xc49f, 0x00f0}, - {0xc4b0, 0x00dd}, - {0xc4b1, 0x00fd}, - {0xc592, 0x008c}, - {0xc593, 0x009c}, - {0xc59e, 0x00de}, - {0xc59f, 0x00fe}, - {0xc5a0, 0x008a}, - {0xc5a1, 0x009a}, - {0xc5b8, 0x009f}, - {0xc692, 0x0083}, - {0xcb86, 0x0088}, - {0xcb9c, 0x0098}, - {0xe28093, 0x0096}, - {0xe28094, 0x0097}, - {0xe28098, 0x0091}, - {0xe28099, 0x0092}, - {0xe2809a, 0x0082}, - {0xe2809c, 0x0093}, - {0xe2809d, 0x0094}, - {0xe2809e, 0x0084}, - {0xe280a0, 0x0086}, - {0xe280a1, 0x0087}, - {0xe280a2, 0x0095}, - {0xe280a6, 0x0085}, - {0xe280b0, 0x0089}, - {0xe280b9, 0x008b}, - {0xe280ba, 0x009b}, - {0xe282ac, 0x0080}, - {0xe284a2, 0x0099} +static const uint16 win1254_from_unicode_tree_table[]; + +static const pg_mb_radix_tree win1254_from_unicode_tree = +{ + win1254_from_unicode_tree_table, + NULL, /* 32-bit table not used */ + + 0x0000, /* offset of table for 1-byte inputs */ + 0x00, /* b1_lower */ + 0x00, /* b1_upper */ + + 0x0040, /* offset of table for 2-byte inputs */ + 0xc2, /* b2_1_lower */ + 0xcb, /* b2_1_upper */ + 0x80, /* b2_2_lower */ + 0xbf, /* b2_2_upper */ + + 0x01af, /* offset of table for 3-byte inputs */ + 0xe2, /* b3_1_lower */ + 0xe2, /* b3_1_upper */ + 0x80, /* b3_2_lower */ + 0x84, /* b3_2_upper */ + 0x93, /* b3_3_lower */ + 0xba, /* b3_3_upper */ + + 0x0000, /* offset of table for 3-byte inputs */ + 0x00, /* b4_1_lower */ + 0x00, /* b4_1_upper */ + 0x00, /* b4_2_lower */ + 0x00, /* b4_2_upper */ + 0x00, /* b4_3_lower */ + 0x00, /* b4_3_upper */ + 0x00, /* b4_4_lower */ + 0x00 /* b4_4_upper */ +}; + +static const uint16 win1254_from_unicode_tree_table[557] = +{ + /*** Dummy map, for invalid values - offset 0x00000 ***/ + + /* 00 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 08 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 10 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 18 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 20 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 28 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 30 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 38 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + + /*** Two byte table, byte #1: xx - offset 0x00040 ***/ + + /* c2 */ 0x004a, 0x008a, 0x00ca, 0x00fc, 0x0135, 0x0000, 0x0000, 0x0000, + /* ca */ 0x0000, 0x016f, + + /*** Two byte table, leaf: c2xx - offset 0x0004a ***/ + + /* 80 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 88 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 90 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 98 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* a0 */ 0x00a0, 0x00a1, 0x00a2, 0x00a3, 0x00a4, 0x00a5, 0x00a6, 0x00a7, + /* a8 */ 0x00a8, 0x00a9, 0x00aa, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x00af, + /* b0 */ 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x00b6, 0x00b7, + /* b8 */ 0x00b8, 0x00b9, 0x00ba, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf, + + /*** Two byte table, leaf: c3xx - offset 0x0008a ***/ + + /* 80 */ 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x00c7, + /* 88 */ 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf, + /* 90 */ 0x0000, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x00d7, + /* 98 */ 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x0000, 0x0000, 0x00df, + /* a0 */ 0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7, + /* a8 */ 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef, + /* b0 */ 0x0000, 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x00f7, + /* b8 */ 0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x0000, 0x0000, 0x00ff, + + /*** Two byte table, leaf: c4xx - offset 0x000ca ***/ + + /* 80 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 88 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 90 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 98 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00d0, 0x00f0, + /* a0 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* a8 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* b0 */ 0x00dd, 0x00fd, + /* 14 trailing zero values shared with next segment */ + + /*** Two byte table, leaf: c5xx - offset 0x000fc ***/ + + /* 80 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 88 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 90 */ 0x0000, 0x0000, 0x008c, 0x009c, 0x0000, 0x0000, 0x0000, 0x0000, + /* 98 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00de, 0x00fe, + /* a0 */ 0x008a, 0x009a, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* a8 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* b0 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* b8 */ 0x009f, + /* 7 trailing zero values shared with next segment */ + + /*** Two byte table, leaf: c6xx - offset 0x00135 ***/ + + /* 80 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 88 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 90 */ 0x0000, 0x0000, 0x0083, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 98 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* a0 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* a8 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* b0 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* b8 */ 0x0000, 0x0000, + /* 6 trailing zero values shared with next segment */ + + /*** Two byte table, leaf: cbxx - offset 0x0016f ***/ + + /* 80 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0088, 0x0000, + /* 88 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 90 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 98 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0098, 0x0000, 0x0000, 0x0000, + /* a0 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* a8 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* b0 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* b8 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + + /*** Three byte table, byte #1: xx - offset 0x001af ***/ + + /* e2 */ 0x01b0, + + /*** Three byte table, byte #2: e2xx - offset 0x001b0 ***/ + + /* 80 */ 0x01b5, 0x0000, 0x01dd, 0x0000, 0x0205, + + /*** Three byte table, leaf: e280xx - offset 0x001b5 ***/ + + /* 93 */ 0x0096, 0x0097, 0x0000, 0x0000, 0x0000, 0x0091, 0x0092, 0x0082, + /* 9b */ 0x0000, 0x0093, 0x0094, 0x0084, 0x0000, 0x0086, 0x0087, 0x0095, + /* a3 */ 0x0000, 0x0000, 0x0000, 0x0085, 0x0000, 0x0000, 0x0000, 0x0000, + /* ab */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0089, 0x0000, 0x0000, + /* b3 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x008b, 0x009b, + + /*** Three byte table, leaf: e282xx - offset 0x001dd ***/ + + /* 93 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 9b */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* a3 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* ab */ 0x0000, 0x0080, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* b3 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + + /*** Three byte table, leaf: e284xx - offset 0x00205 ***/ + + /* 93 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* 9b */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0099, + /* a3 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* ab */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + /* b3 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }; |