aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-02 07:51:38 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-02 07:51:38 +0000
commit18a3a9a3b4f00ed773c452abc7ded7c56cc0859c (patch)
tree005769ffbbf01bb893066cbfba8cdb989e384e43
parent275cdda0e2bf9bed3d7e873e2d038d6ff1a78c75 (diff)
downloadglibc-18a3a9a3b4f00ed773c452abc7ded7c56cc0859c.tar.xz
glibc-18a3a9a3b4f00ed773c452abc7ded7c56cc0859c.zip
Update.
* iconvdata/TESTS: Add entries for IBM856, IBM930, IBM933, IBM935, IBM937, IBM939, and IBM1046. * iconvdata/testdata/IBM1046: New file. * iconvdata/testdata/IBM930..UTF8: New file. * iconvdata/testdata/IBM1046..UTF8: New file. * iconvdata/testdata/IBM933: New file. * iconvdata/testdata/IBM935: New file. * iconvdata/testdata/IBM937: New file. * iconvdata/testdata/IBM856..UTF8: New file. * iconvdata/testdata/IBM939: New file. * iconvdata/testdata/IBM933..UTF8: New file. * iconvdata/testdata/IBM935..UTF8: New file. * iconvdata/testdata/IBM930: New file. * iconvdata/testdata/IBM856: New file. * iconvdata/testdata/IBM937..UTF8: New file. * iconvdata/testdata/IBM939..UTF8: New file. Contributed by Masahide Washizawa <washi@yamato.ibm.co.jp>. 2000-11-01 Martin Buchholz <martin@xemacs.org> * manual/memory.texi (Hooks for Malloc): Fix `caller' arg docs to agree with implementation. 2000-11-01 Ulrich Drepper <drepper@redhat.com>
-rw-r--r--ChangeLog25
-rw-r--r--iconvdata/TESTS7
-rwxr-xr-xiconvdata/run-iconv-test.sh4
-rw-r--r--iconvdata/testdata/IBM104614
-rw-r--r--iconvdata/testdata/IBM1046..UTF814
-rw-r--r--iconvdata/testdata/IBM85611
-rw-r--r--iconvdata/testdata/IBM856..UTF811
-rw-r--r--iconvdata/testdata/IBM930bin0 -> 59775 bytes
-rw-r--r--iconvdata/testdata/IBM930..UTF8bin0 -> 48136 bytes
-rw-r--r--iconvdata/testdata/IBM933bin0 -> 55021 bytes
-rw-r--r--iconvdata/testdata/IBM933..UTF8bin0 -> 44229 bytes
-rw-r--r--iconvdata/testdata/IBM935bin0 -> 47825 bytes
-rw-r--r--iconvdata/testdata/IBM935..UTF8bin0 -> 38355 bytes
-rw-r--r--iconvdata/testdata/IBM937bin0 -> 102085 bytes
-rw-r--r--iconvdata/testdata/IBM937..UTF8bin0 -> 81911 bytes
-rw-r--r--iconvdata/testdata/IBM939bin0 -> 59775 bytes
-rw-r--r--iconvdata/testdata/IBM939..UTF8bin0 -> 48136 bytes
-rw-r--r--intl/translit.po4
-rw-r--r--intl/tst-translit.c10
-rw-r--r--locale/C-translit.h261
-rw-r--r--locale/C-translit.h.in500
-rw-r--r--locale/gen-translit.pl2
-rw-r--r--manual/memory.texi33
23 files changed, 784 insertions, 112 deletions
diff --git a/ChangeLog b/ChangeLog
index ef46b97215..fd9601e5ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,30 @@
2000-11-01 Ulrich Drepper <drepper@redhat.com>
+ * iconvdata/TESTS: Add entries for IBM856, IBM930, IBM933, IBM935,
+ IBM937, IBM939, and IBM1046.
+ * iconvdata/testdata/IBM1046: New file.
+ * iconvdata/testdata/IBM930..UTF8: New file.
+ * iconvdata/testdata/IBM1046..UTF8: New file.
+ * iconvdata/testdata/IBM933: New file.
+ * iconvdata/testdata/IBM935: New file.
+ * iconvdata/testdata/IBM937: New file.
+ * iconvdata/testdata/IBM856..UTF8: New file.
+ * iconvdata/testdata/IBM939: New file.
+ * iconvdata/testdata/IBM933..UTF8: New file.
+ * iconvdata/testdata/IBM935..UTF8: New file.
+ * iconvdata/testdata/IBM930: New file.
+ * iconvdata/testdata/IBM856: New file.
+ * iconvdata/testdata/IBM937..UTF8: New file.
+ * iconvdata/testdata/IBM939..UTF8: New file.
+ Contributed by Masahide Washizawa <washi@yamato.ibm.co.jp>.
+
+2000-11-01 Martin Buchholz <martin@xemacs.org>
+
+ * manual/memory.texi (Hooks for Malloc): Fix `caller' arg docs to
+ agree with implementation.
+
+2000-11-01 Ulrich Drepper <drepper@redhat.com>
+
* sysdeps/unix/sysv/linux/bits/time.h (CLK_TCK): Cast sysconf result
to __clock_t.
* sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
diff --git a/iconvdata/TESTS b/iconvdata/TESTS
index eb3776537a..cbdae2ea44 100644
--- a/iconvdata/TESTS
+++ b/iconvdata/TESTS
@@ -88,3 +88,10 @@ EUC-TW EUC-TW Y UTF8
GBK GBK Y UTF8
BIG5HKSCS BIG5HKSCS Y UTF8
UTF-7 UTF-7 N UTF8
+IBM856 IBM856 N UTF8
+IBM930 IBM930 N UTF8
+IBM933 IBM933 N UTF8
+IBM935 IBM935 N UTF8
+IBM937 IBM937 N UTF8
+IBM939 IBM939 N UTF8
+IBM1046 IBM1046 Y UTF8
diff --git a/iconvdata/run-iconv-test.sh b/iconvdata/run-iconv-test.sh
index a000b68b14..532006cdcb 100755
--- a/iconvdata/run-iconv-test.sh
+++ b/iconvdata/run-iconv-test.sh
@@ -84,8 +84,8 @@ while read from to subset targets; do
rm -f $temp1 $temp2
# Now test some bigger text, entirely in ASCII. If ASCII is no subset
- # of the coded character set we test we convert the test to this
- # coded character set. Otherwise we convert to all the TARGETS.
+ # of the coded character set we convert the text to this coded character
+ # set. Otherwise we convert to all the TARGETS.
if test $subset = Y; then
echo $ac_n " suntzu: $from -> $t -> $to $ac_c"
$PROG -f $from -t $t testdata/suntzus |
diff --git a/iconvdata/testdata/IBM1046 b/iconvdata/testdata/IBM1046
new file mode 100644
index 0000000000..0a43e9523a
--- /dev/null
+++ b/iconvdata/testdata/IBM1046
@@ -0,0 +1,14 @@
+ ! " # $ % & ' ( ) * + , - . / 0
+1 2 3 4 5 6 7 8 9 : ; < = > ? @ A
+B C D E F G H I J K L M N O P Q R
+S T U V W X Y Z [ \ ] ^ _ ` a b c
+d e f g h i j k l m n o p q r s t
+u v w x y z { | } ~ 
+
+
+
+
+
+
+
+
diff --git a/iconvdata/testdata/IBM1046..UTF8 b/iconvdata/testdata/IBM1046..UTF8
new file mode 100644
index 0000000000..ed2679759b
--- /dev/null
+++ b/iconvdata/testdata/IBM1046..UTF8
@@ -0,0 +1,14 @@
+ ! " # $ % & ' ( ) * + , - . / 0
+1 2 3 4 5 6 7 8 9 : ; < = > ? @ A
+B C D E F G H I J K L M N O P Q R
+S T U V W X Y Z [ \ ] ^ _ ` a b c
+d e f g h i j k l m n o p q r s t
+u v w x y z { | } ~  ﺈ × ÷ س ش ص
+ض ﹱ ˆ ■ │ ─ ┐ ┌ └ ┘ ﹹ ﹻ ﹽ ﹿ ﹷ ﺊ ﻰ
+ﻳ ﻲ ﻎ ﻏ ﻐ ﻶ ﻸ ﻺ ﻼ   ﺂ ﺄ ﺈ ¤ ﺎ ﺋ ﺑ
+ﺗ ﺛ ﺟ ﺣ ، ­ ﺧ ﺳ ٠ ١ ٢ ٣ ٤ ٥ ٦ ٧ ٨
+٩ ﺷ ؛ ﺻ ﺿ ﻊ ؟ ﻋ ء آ أ ؤ إ ئ ا ب ة
+ت ث ج ح خ د ذ ر ز س ش ص ض ط ظ ع غ
+ﻌ ﺂ ﺄ ﺎ ﻓ ـ ف ق ك ل م ن ه و ى ي ً
+ٌ ٍ َ ُ ِ ّ ْ ﻗ ﻛ ﻟ ​ ﻵ ﻷ ﻹ ﻻ ﻣ ﻧ
+ﻬ ﻩ
diff --git a/iconvdata/testdata/IBM856 b/iconvdata/testdata/IBM856
new file mode 100644
index 0000000000..83af6682f1
--- /dev/null
+++ b/iconvdata/testdata/IBM856
@@ -0,0 +1,11 @@
+ ! " # $ % & ' ( ) * + , - . / 0
+1 2 3 4 5 6 7 8 9 : ; < = > ? @ A
+B C D E F G H I J K L M N O P Q R
+S T U V W X Y Z [ \ ] ^ _ ` a b c
+d e f g h i j k l m n o p q r s t
+u v w x y z { | } ~ 
+
+
+
+
+
diff --git a/iconvdata/testdata/IBM856..UTF8 b/iconvdata/testdata/IBM856..UTF8
new file mode 100644
index 0000000000..080fe1d679
--- /dev/null
+++ b/iconvdata/testdata/IBM856..UTF8
@@ -0,0 +1,11 @@
+ ! " # $ % & ' ( ) * + , - . / 0
+1 2 3 4 5 6 7 8 9 : ; < = > ? @ A
+B C D E F G H I J K L M N O P Q R
+S T U V W X Y Z [ \ ] ^ _ ` a b c
+d e f g h i j k l m n o p q r s t
+u v w x y z { | } ~  א ב ג ד ה ו
+ז ח ט י ך כ ל ם מ ן נ ס ע ף פ ץ צ
+ק ר ש ת £ × ® ¬ ½ ¼ « » ░ ▒ ▓ │ ┤
+© ╣ ║ ╗ ╝ ¢ ¥ ┐ └ ┴ ┬ ├ ─ ┼ ╚ ╔ ╩
+╦ ╠ ═ ╬ ¤ ┘ ┌ █ ▄ ¦ ▀ µ ‾ ´ ­ ± ‗
+¾ ¶ § ÷ ¸ ° ¨ • ¹ ³ ² ■  
diff --git a/iconvdata/testdata/IBM930 b/iconvdata/testdata/IBM930
new file mode 100644
index 0000000000..551cb60797
--- /dev/null
+++ b/iconvdata/testdata/IBM930
Binary files differ
diff --git a/iconvdata/testdata/IBM930..UTF8 b/iconvdata/testdata/IBM930..UTF8
new file mode 100644
index 0000000000..89df7f15ac
--- /dev/null
+++ b/iconvdata/testdata/IBM930..UTF8
Binary files differ
diff --git a/iconvdata/testdata/IBM933 b/iconvdata/testdata/IBM933
new file mode 100644
index 0000000000..4da0d685bf
--- /dev/null
+++ b/iconvdata/testdata/IBM933
Binary files differ
diff --git a/iconvdata/testdata/IBM933..UTF8 b/iconvdata/testdata/IBM933..UTF8
new file mode 100644
index 0000000000..025c6285e1
--- /dev/null
+++ b/iconvdata/testdata/IBM933..UTF8
Binary files differ
diff --git a/iconvdata/testdata/IBM935 b/iconvdata/testdata/IBM935
new file mode 100644
index 0000000000..4a905ee27e
--- /dev/null
+++ b/iconvdata/testdata/IBM935
Binary files differ
diff --git a/iconvdata/testdata/IBM935..UTF8 b/iconvdata/testdata/IBM935..UTF8
new file mode 100644
index 0000000000..2fc263d52a
--- /dev/null
+++ b/iconvdata/testdata/IBM935..UTF8
Binary files differ
diff --git a/iconvdata/testdata/IBM937 b/iconvdata/testdata/IBM937
new file mode 100644
index 0000000000..58bd2632c4
--- /dev/null
+++ b/iconvdata/testdata/IBM937
Binary files differ
diff --git a/iconvdata/testdata/IBM937..UTF8 b/iconvdata/testdata/IBM937..UTF8
new file mode 100644
index 0000000000..61282f129f
--- /dev/null
+++ b/iconvdata/testdata/IBM937..UTF8
Binary files differ
diff --git a/iconvdata/testdata/IBM939 b/iconvdata/testdata/IBM939
new file mode 100644
index 0000000000..9c10f9e416
--- /dev/null
+++ b/iconvdata/testdata/IBM939
Binary files differ
diff --git a/iconvdata/testdata/IBM939..UTF8 b/iconvdata/testdata/IBM939..UTF8
new file mode 100644
index 0000000000..89df7f15ac
--- /dev/null
+++ b/iconvdata/testdata/IBM939..UTF8
Binary files differ
diff --git a/intl/translit.po b/intl/translit.po
index 0dc380f525..5df5d0d064 100644
--- a/intl/translit.po
+++ b/intl/translit.po
@@ -3,7 +3,7 @@ msgstr ""
"Content-Type: text/plain; charset=ISO-8859-1\n"
msgid "test"
-msgstr ""
+msgstr "߻"
msgid "onemore"
-msgstr "ssdf"
+msgstr "*="
diff --git a/intl/tst-translit.c b/intl/tst-translit.c
index f12d99bc96..8e4e6ca26d 100644
--- a/intl/tst-translit.c
+++ b/intl/tst-translit.c
@@ -39,11 +39,11 @@ main (void)
puts (s); \
result |= strcmp (s, exp) != 0;
- TEST ("test", "aeoeueAEUEOEss");
- TEST ("test", "aeoeueAEUEOEss");
- TEST ("onemore", "AEssdf");
- TEST ("onemore", "AEssdf");
- TEST ("test", "aeoeueAEUEOEss");
+ TEST ("test", "<<(C) AEss>>");
+ TEST ("test", "<<(C) AEss>>");
+ TEST ("onemore", "1/2*1/2=1/4");
+ TEST ("onemore", "1/2*1/2=1/4");
+ TEST ("test", "<<(C) AEss>>");
return result;
}
diff --git a/locale/C-translit.h b/locale/C-translit.h
index 2d42133b0e..09c0346636 100644
--- a/locale/C-translit.h
+++ b/locale/C-translit.h
@@ -1,21 +1,258 @@
-#define NTRANSLIT 20
+#define NTRANSLIT 425
static const uint32_t translit_from_idx[] =
{
0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22,
- 24, 26, 28, 30, 32, 34, 36, 38
+ 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46,
+ 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70,
+ 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94,
+ 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118,
+ 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142,
+ 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166,
+ 168, 170, 172, 174, 176, 178, 180, 182, 184, 186, 188, 190,
+ 192, 194, 196, 198, 200, 202, 204, 206, 208, 210, 212, 214,
+ 216, 218, 220, 222, 224, 226, 228, 230, 232, 234, 236, 238,
+ 240, 242, 244, 246, 248, 250, 252, 254, 256, 258, 260, 262,
+ 264, 266, 268, 270, 272, 274, 276, 278, 280, 282, 284, 286,
+ 288, 290, 292, 294, 296, 298, 300, 302, 304, 306, 308, 310,
+ 312, 314, 316, 318, 320, 322, 324, 326, 328, 330, 332, 334,
+ 336, 338, 340, 342, 344, 346, 348, 350, 352, 354, 356, 358,
+ 360, 362, 364, 366, 368, 370, 372, 374, 376, 378, 380, 382,
+ 384, 386, 388, 390, 392, 394, 396, 398, 400, 402, 404, 406,
+ 408, 410, 412, 414, 416, 418, 420, 422, 424, 426, 428, 430,
+ 432, 434, 436, 438, 440, 442, 444, 446, 448, 450, 452, 454,
+ 456, 458, 460, 462, 464, 466, 468, 470, 472, 474, 476, 478,
+ 480, 482, 484, 486, 488, 490, 492, 494, 496, 498, 500, 502,
+ 504, 506, 508, 510, 512, 514, 516, 518, 520, 522, 524, 526,
+ 528, 530, 532, 534, 536, 538, 540, 542, 544, 546, 548, 550,
+ 552, 554, 556, 558, 560, 562, 564, 566, 568, 570, 572, 574,
+ 576, 578, 580, 582, 584, 586, 588, 590, 592, 594, 596, 598,
+ 600, 602, 604, 606, 608, 610, 612, 614, 616, 618, 620, 622,
+ 624, 626, 628, 630, 632, 634, 636, 638, 640, 642, 644, 646,
+ 648, 650, 652, 654, 656, 658, 660, 662, 664, 666, 668, 670,
+ 672, 674, 676, 678, 680, 682, 684, 686, 688, 690, 692, 694,
+ 696, 698, 700, 702, 704, 706, 708, 710, 712, 714, 716, 718,
+ 720, 722, 724, 726, 728, 730, 732, 734, 736, 738, 740, 742,
+ 744, 746, 748, 750, 752, 754, 756, 758, 760, 762, 764, 766,
+ 768, 770, 772, 774, 776, 778, 780, 782, 784, 786, 788, 790,
+ 792, 794, 796, 798, 800, 802, 804, 806, 808, 810, 812, 814,
+ 816, 818, 820, 822, 824, 826, 828, 830, 832, 834, 836, 838,
+ 840, 842, 844, 846, 848
};
static const wchar_t translit_from_tbl[] =
- L"\xa9" L"\0" L"\xab" L"\0" L"\xae" L"\0" L"\xbb" L"\0" L"\xbc" L"\0"
- L"\xbd" L"\0" L"\xbe" L"\0" L"\xc4" L"\0" L"\xc5" L"\0" L"\xc6" L"\0"
- L"\xd6" L"\0" L"\xdc" L"\0" L"\xdf" L"\0" L"\xe4" L"\0" L"\xe5" L"\0"
- L"\xe6" L"\0" L"\xf6" L"\0" L"\xfc" L"\0" L"\x201c" L"\0" L"\x201d";
+ L"\x00a0" L"\0" L"\x00a9" L"\0" L"\x00ab" L"\0" L"\x00ad" L"\0" L"\x00ae"
+ L"\0" L"\x00bb" L"\0" L"\x00bc" L"\0" L"\x00bd" L"\0" L"\x00be" L"\0"
+ L"\x00c6" L"\0" L"\x00df" L"\0" L"\x00e6" L"\0" L"\x0132" L"\0" L"\x0133"
+ L"\0" L"\x017f" L"\0" L"\x01c7" L"\0" L"\x01c8" L"\0" L"\x01c9" L"\0"
+ L"\x01ca" L"\0" L"\x01cb" L"\0" L"\x01cc" L"\0" L"\x01f1" L"\0" L"\x01f2"
+ L"\0" L"\x01f3" L"\0" L"\x02dc" L"\0" L"\x2002" L"\0" L"\x2003" L"\0"
+ L"\x2004" L"\0" L"\x2005" L"\0" L"\x2006" L"\0" L"\x2008" L"\0" L"\x2009"
+ L"\0" L"\x200a" L"\0" L"\x2010" L"\0" L"\x2011" L"\0" L"\x2012" L"\0"
+ L"\x2013" L"\0" L"\x2014" L"\0" L"\x2015" L"\0" L"\x2018" L"\0" L"\x2019"
+ L"\0" L"\x201a" L"\0" L"\x201b" L"\0" L"\x201c" L"\0" L"\x201d" L"\0"
+ L"\x201e" L"\0" L"\x201f" L"\0" L"\x2020" L"\0" L"\x2022" L"\0" L"\x2024"
+ L"\0" L"\x2025" L"\0" L"\x2026" L"\0" L"\x2039" L"\0" L"\x203a" L"\0"
+ L"\x203c" L"\0" L"\x2048" L"\0" L"\x2049" L"\0" L"\x20a8" L"\0" L"\x20ac"
+ L"\0" L"\x2100" L"\0" L"\x2101" L"\0" L"\x2102" L"\0" L"\x2105" L"\0"
+ L"\x2106" L"\0" L"\x210a" L"\0" L"\x210b" L"\0" L"\x210c" L"\0" L"\x210d"
+ L"\0" L"\x210e" L"\0" L"\x2110" L"\0" L"\x2111" L"\0" L"\x2112" L"\0"
+ L"\x2113" L"\0" L"\x2115" L"\0" L"\x2116" L"\0" L"\x2119" L"\0" L"\x211a"
+ L"\0" L"\x211b" L"\0" L"\x211c" L"\0" L"\x211d" L"\0" L"\x2121" L"\0"
+ L"\x2122" L"\0" L"\x2124" L"\0" L"\x2126" L"\0" L"\x2128" L"\0" L"\x212c"
+ L"\0" L"\x212d" L"\0" L"\x212f" L"\0" L"\x2130" L"\0" L"\x2131" L"\0"
+ L"\x2133" L"\0" L"\x2134" L"\0" L"\x2139" L"\0" L"\x2153" L"\0" L"\x2154"
+ L"\0" L"\x2155" L"\0" L"\x2156" L"\0" L"\x2157" L"\0" L"\x2158" L"\0"
+ L"\x2159" L"\0" L"\x215a" L"\0" L"\x215b" L"\0" L"\x215c" L"\0" L"\x215d"
+ L"\0" L"\x215e" L"\0" L"\x215f" L"\0" L"\x2160" L"\0" L"\x2161" L"\0"
+ L"\x2162" L"\0" L"\x2163" L"\0" L"\x2164" L"\0" L"\x2165" L"\0" L"\x2166"
+ L"\0" L"\x2167" L"\0" L"\x2168" L"\0" L"\x2169" L"\0" L"\x216a" L"\0"
+ L"\x216b" L"\0" L"\x216c" L"\0" L"\x216d" L"\0" L"\x216e" L"\0" L"\x216f"
+ L"\0" L"\x2170" L"\0" L"\x2171" L"\0" L"\x2172" L"\0" L"\x2173" L"\0"
+ L"\x2174" L"\0" L"\x2175" L"\0" L"\x2176" L"\0" L"\x2177" L"\0" L"\x2178"
+ L"\0" L"\x2179" L"\0" L"\x217a" L"\0" L"\x217b" L"\0" L"\x217c" L"\0"
+ L"\x217d" L"\0" L"\x217e" L"\0" L"\x217f" L"\0" L"\x2190" L"\0" L"\x2192"
+ L"\0" L"\x21d0" L"\0" L"\x21d2" L"\0" L"\x2212" L"\0" L"\x2215" L"\0"
+ L"\x2264" L"\0" L"\x2265" L"\0" L"\x226a" L"\0" L"\x226b" L"\0" L"\x2460"
+ L"\0" L"\x2461" L"\0" L"\x2462" L"\0" L"\x2463" L"\0" L"\x2464" L"\0"
+ L"\x2465" L"\0" L"\x2466" L"\0" L"\x2467" L"\0" L"\x2468" L"\0" L"\x2469"
+ L"\0" L"\x246a" L"\0" L"\x246b" L"\0" L"\x246c" L"\0" L"\x246d" L"\0"
+ L"\x246e" L"\0" L"\x246f" L"\0" L"\x2470" L"\0" L"\x2471" L"\0" L"\x2472"
+ L"\0" L"\x2473" L"\0" L"\x2474" L"\0" L"\x2475" L"\0" L"\x2476" L"\0"
+ L"\x2477" L"\0" L"\x2478" L"\0" L"\x2479" L"\0" L"\x247a" L"\0" L"\x247b"
+ L"\0" L"\x247c" L"\0" L"\x247d" L"\0" L"\x247e" L"\0" L"\x247f" L"\0"
+ L"\x2480" L"\0" L"\x2481" L"\0" L"\x2482" L"\0" L"\x2483" L"\0" L"\x2484"
+ L"\0" L"\x2485" L"\0" L"\x2486" L"\0" L"\x2487" L"\0" L"\x2488" L"\0"
+ L"\x2489" L"\0" L"\x248a" L"\0" L"\x248b" L"\0" L"\x248c" L"\0" L"\x248d"
+ L"\0" L"\x248e" L"\0" L"\x248f" L"\0" L"\x2490" L"\0" L"\x2491" L"\0"
+ L"\x2492" L"\0" L"\x2493" L"\0" L"\x2494" L"\0" L"\x2495" L"\0" L"\x2496"
+ L"\0" L"\x2497" L"\0" L"\x2498" L"\0" L"\x2499" L"\0" L"\x249a" L"\0"
+ L"\x249b" L"\0" L"\x249c" L"\0" L"\x249d" L"\0" L"\x249e" L"\0" L"\x249f"
+ L"\0" L"\x24a0" L"\0" L"\x24a1" L"\0" L"\x24a2" L"\0" L"\x24a3" L"\0"
+ L"\x24a4" L"\0" L"\x24a5" L"\0" L"\x24a6" L"\0" L"\x24a7" L"\0" L"\x24a8"
+ L"\0" L"\x24a9" L"\0" L"\x24aa" L"\0" L"\x24ab" L"\0" L"\x24ac" L"\0"
+ L"\x24ad" L"\0" L"\x24ae" L"\0" L"\x24af" L"\0" L"\x24b0" L"\0" L"\x24b1"
+ L"\0" L"\x24b2" L"\0" L"\x24b3" L"\0" L"\x24b4" L"\0" L"\x24b5" L"\0"
+ L"\x24b6" L"\0" L"\x24b7" L"\0" L"\x24b8" L"\0" L"\x24b9" L"\0" L"\x24ba"
+ L"\0" L"\x24bb" L"\0" L"\x24bc" L"\0" L"\x24bd" L"\0" L"\x24be" L"\0"
+ L"\x24bf" L"\0" L"\x24c0" L"\0" L"\x24c1" L"\0" L"\x24c2" L"\0" L"\x24c3"
+ L"\0" L"\x24c4" L"\0" L"\x24c5" L"\0" L"\x24c6" L"\0" L"\x24c7" L"\0"
+ L"\x24c8" L"\0" L"\x24c9" L"\0" L"\x24ca" L"\0" L"\x24cb" L"\0" L"\x24cc"
+ L"\0" L"\x24cd" L"\0" L"\x24ce" L"\0" L"\x24cf" L"\0" L"\x24d0" L"\0"
+ L"\x24d1" L"\0" L"\x24d2" L"\0" L"\x24d3" L"\0" L"\x24d4" L"\0" L"\x24d5"
+ L"\0" L"\x24d6" L"\0" L"\x24d7" L"\0" L"\x24d8" L"\0" L"\x24d9" L"\0"
+ L"\x24da" L"\0" L"\x24db" L"\0" L"\x24dc" L"\0" L"\x24dd" L"\0" L"\x24de"
+ L"\0" L"\x24df" L"\0" L"\x24e0" L"\0" L"\x24e1" L"\0" L"\x24e2" L"\0"
+ L"\x24e3" L"\0" L"\x24e4" L"\0" L"\x24e5" L"\0" L"\x24e6" L"\0" L"\x24e7"
+ L"\0" L"\x24e8" L"\0" L"\x24e9" L"\0" L"\x24ea" L"\0" L"\x2500" L"\0"
+ L"\x2502" L"\0" L"\x250c" L"\0" L"\x2510" L"\0" L"\x2514" L"\0" L"\x2518"
+ L"\0" L"\x251c" L"\0" L"\x2524" L"\0" L"\x252c" L"\0" L"\x2534" L"\0"
+ L"\x253c" L"\0" L"\x3000" L"\0" L"\xfb00" L"\0" L"\xfb01" L"\0" L"\xfb02"
+ L"\0" L"\xfb03" L"\0" L"\xfb04" L"\0" L"\xfb06" L"\0" L"\xfb29" L"\0"
+ L"\xfe4d" L"\0" L"\xfe4e" L"\0" L"\xfe4f" L"\0" L"\xfe50" L"\0" L"\xfe52"
+ L"\0" L"\xfe54" L"\0" L"\xfe55" L"\0" L"\xfe56" L"\0" L"\xfe57" L"\0"
+ L"\xfe59" L"\0" L"\xfe5a" L"\0" L"\xfe5b" L"\0" L"\xfe5c" L"\0" L"\xfe5f"
+ L"\0" L"\xfe60" L"\0" L"\xfe61" L"\0" L"\xfe62" L"\0" L"\xfe63" L"\0"
+ L"\xfe64" L"\0" L"\xfe65" L"\0" L"\xfe66" L"\0" L"\xfe68" L"\0" L"\xfe69"
+ L"\0" L"\xfe6a" L"\0" L"\xfe6b" L"\0" L"\xff01" L"\0" L"\xff02" L"\0"
+ L"\xff03" L"\0" L"\xff04" L"\0" L"\xff05" L"\0" L"\xff06" L"\0" L"\xff07"
+ L"\0" L"\xff08" L"\0" L"\xff09" L"\0" L"\xff0a" L"\0" L"\xff0b" L"\0"
+ L"\xff0c" L"\0" L"\xff0d" L"\0" L"\xff0e" L"\0" L"\xff0f" L"\0" L"\xff10"
+ L"\0" L"\xff11" L"\0" L"\xff12" L"\0" L"\xff13" L"\0" L"\xff14" L"\0"
+ L"\xff15" L"\0" L"\xff16" L"\0" L"\xff17" L"\0" L"\xff18" L"\0" L"\xff19"
+ L"\0" L"\xff1a" L"\0" L"\xff1b" L"\0" L"\xff1c" L"\0" L"\xff1d" L"\0"
+ L"\xff1e" L"\0" L"\xff1f" L"\0" L"\xff20" L"\0" L"\xff21" L"\0" L"\xff22"
+ L"\0" L"\xff23" L"\0" L"\xff24" L"\0" L"\xff25" L"\0" L"\xff26" L"\0"
+ L"\xff27" L"\0" L"\xff28" L"\0" L"\xff29" L"\0" L"\xff2a" L"\0" L"\xff2b"
+ L"\0" L"\xff2c" L"\0" L"\xff2d" L"\0" L"\xff2e" L"\0" L"\xff2f" L"\0"
+ L"\xff30" L"\0" L"\xff31" L"\0" L"\xff32" L"\0" L"\xff33" L"\0" L"\xff34"
+ L"\0" L"\xff35" L"\0" L"\xff36" L"\0" L"\xff37" L"\0" L"\xff38" L"\0"
+ L"\xff39" L"\0" L"\xff3a" L"\0" L"\xff3b" L"\0" L"\xff3c" L"\0" L"\xff3d"
+ L"\0" L"\xff3e" L"\0" L"\xff3f" L"\0" L"\xff40" L"\0" L"\xff41" L"\0"
+ L"\xff42" L"\0" L"\xff43" L"\0" L"\xff44" L"\0" L"\xff45" L"\0" L"\xff46"
+ L"\0" L"\xff47" L"\0" L"\xff48" L"\0" L"\xff49" L"\0" L"\xff4a" L"\0"
+ L"\xff4b" L"\0" L"\xff4c" L"\0" L"\xff4d" L"\0" L"\xff4e" L"\0" L"\xff4f"
+ L"\0" L"\xff50" L"\0" L"\xff51" L"\0" L"\xff52" L"\0" L"\xff53" L"\0"
+ L"\xff54" L"\0" L"\xff55" L"\0" L"\xff56" L"\0" L"\xff57" L"\0" L"\xff58"
+ L"\0" L"\xff59" L"\0" L"\xff5a" L"\0" L"\xff5b" L"\0" L"\xff5c" L"\0"
+ L"\xff5d" L"\0" L"\xff5e";
static const uint32_t translit_to_idx[] =
{
- 0, 5, 9, 14, 18, 23, 28, 33, 37, 41, 45, 49,
- 53, 57, 61, 65, 69, 73, 77, 80
+ 0, 3, 8, 12, 15, 20, 24, 29, 34, 39, 43, 47,
+ 51, 55, 59, 62, 66, 70, 74, 78, 82, 86, 90, 94,
+ 98, 101, 104, 107, 110, 113, 116, 119, 122, 125, 128, 131,
+ 134, 137, 140, 143, 146, 149, 152, 155, 158, 161, 165, 168,
+ 171, 174, 177, 181, 186, 189, 192, 196, 200, 204, 208, 213,
+ 218, 223, 226, 231, 236, 239, 242, 245, 248, 251, 254, 257,
+ 260, 263, 266, 270, 273, 276, 279, 282, 285, 290, 296, 299,
+ 304, 307, 310, 313, 316, 319, 322, 325, 328, 331, 336, 341,
+ 346, 351, 356, 361, 366, 371, 376, 381, 386, 391, 395, 398,
+ 402, 407, 411, 414, 418, 423, 429, 433, 436, 440, 445, 448,
+ 451, 454, 457, 460, 464, 469, 473, 476, 480, 485, 491, 495,
+ 498, 502, 507, 510, 513, 516, 519, 523, 527, 531, 535, 538,
+ 541, 545, 549, 553, 557, 562, 567, 572, 577, 582, 587, 592,
+ 597, 602, 608, 614, 620, 626, 632, 638, 644, 650, 656, 662,
+ 668, 673, 678, 683, 688, 693, 698, 703, 708, 713, 719, 725,
+ 731, 737, 743, 749, 755, 761, 767, 773, 779, 783, 787, 791,
+ 795, 799, 803, 807, 811, 815, 820, 825, 830, 835, 840, 845,
+ 850, 855, 860, 865, 870, 875, 880, 885, 890, 895, 900, 905,
+ 910, 915, 920, 925, 930, 935, 940, 945, 950, 955, 960, 965,
+ 970, 975, 980, 985, 990, 995, 1000, 1005, 1010, 1015, 1020, 1025,
+ 1030, 1035, 1040, 1045, 1050, 1055, 1060, 1065, 1070, 1075, 1080, 1085,
+ 1090, 1095, 1100, 1105, 1110, 1115, 1120, 1125, 1130, 1135, 1140, 1145,
+ 1150, 1155, 1160, 1165, 1170, 1175, 1180, 1185, 1190, 1195, 1200, 1205,
+ 1210, 1215, 1220, 1225, 1230, 1235, 1240, 1245, 1250, 1255, 1260, 1265,
+ 1268, 1271, 1274, 1277, 1280, 1283, 1286, 1289, 1292, 1295, 1298, 1301,
+ 1305, 1309, 1313, 1318, 1323, 1327, 1330, 1333, 1336, 1339, 1342, 1345,
+ 1348, 1351, 1354, 1357, 1360, 1363, 1366, 1369, 1372, 1375, 1378, 1381,
+ 1384, 1387, 1390, 1393, 1396, 1399, 1402, 1405, 1408, 1411, 1414, 1417,
+ 1420, 1423, 1426, 1429, 1432, 1435, 1438, 1441, 1444, 1447, 1450, 1453,
+ 1456, 1459, 1462, 1465, 1468, 1471, 1474, 1477, 1480, 1483, 1486, 1489,
+ 1492, 1495, 1498, 1501, 1504, 1507, 1510, 1513, 1516, 1519, 1522, 1525,
+ 1528, 1531, 1534, 1537,