CNS 11643 goes above the BMP, so the test code should take that into
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 24 Sep 2005 16:02:49 +0000 (16:02 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 24 Sep 2005 16:02:49 +0000 (16:02 +0000)
account when checking the reverse mapping for every potentially
relevant Unicode character.

git-svn-id: svn://svn.tartarus.org/sgt/charset@6343 cda61777-01e9-0310-a592-d414129be87e

cns11643.c

index f39d51b..3f20763 100644 (file)
@@ -15784,7 +15784,7 @@ int main(void)
        }
     }
 
-    for (u = 0; u < 0x10000L; u++) {
+    for (u = 0; u < 0x30000L; u++) {
        ret = unicode_to_cns11643(u, &p, &r, &c);
        if (ret) {
            uu = cns11643_to_unicode(p, r, c);