diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-09-26 00:05:52 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-09-26 00:05:52 +0000 |
commit | 0b95971d92a07bdc4719f41fbbb23cfc8decb2f7 (patch) | |
tree | bcea861005746afbc240e24884a73ebd4d51792e /localedata/tests-mbwc/dat_wcswidth.c | |
parent | a2aa7df3d6bf73cda977ee050a503a7f7a78a82d (diff) | |
download | glibc-0b95971d92a07bdc4719f41fbbb23cfc8decb2f7.tar glibc-0b95971d92a07bdc4719f41fbbb23cfc8decb2f7.tar.gz glibc-0b95971d92a07bdc4719f41fbbb23cfc8decb2f7.tar.bz2 glibc-0b95971d92a07bdc4719f41fbbb23cfc8decb2f7.zip |
Update.
2000-09-23 Bruno Haible <haible@clisp.cons.org>
* iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
(__gbk_to_ucs): Conditionalize private area mappings.
(__gbk_from_ucs4_tab9): Likewise.
(BODY for TO_LOOP): Likewise.
* iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
* iconvdata/testdata/GBK..UTF-8: Likewise.
* iconvdata/tst-tables.sh: Enable GBK test.
2000-09-23 Bruno Haible <haible@clisp.cons.org>
* iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
(__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
(BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
array access.
* iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
* iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
2000-09-23 Bruno Haible <haible@clisp.cons.org>
* iconvdata/johab.c (final_to_ucs): Fix typos.
(jamo_from_ucs_table): Likewise.
(BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
(BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
the range 0xD9E6..0xD9FE.
* iconvdata/tst-tables.sh: Enable JOHAB testing.
Diffstat (limited to 'localedata/tests-mbwc/dat_wcswidth.c')
-rw-r--r-- | localedata/tests-mbwc/dat_wcswidth.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/localedata/tests-mbwc/dat_wcswidth.c b/localedata/tests-mbwc/dat_wcswidth.c index fd426ef2c1..fb66d979e5 100644 --- a/localedata/tests-mbwc/dat_wcswidth.c +++ b/localedata/tests-mbwc/dat_wcswidth.c @@ -56,7 +56,11 @@ TST_WCSWIDTH tst_wcswidth_loc [] = { /*expect*/ { 0,1,-1 }, }, { /*input.*/ { { 0x00C1,0x00A0,0x0000 }, 2 }, /* 16 */ +#ifdef SHOJI_IS_RIGHT /*expect*/ { 0,1,-1 }, +#else + /*expect*/ { 0,1,2 }, +#endif }, { /*input.*/ { { 0x00C1,0x00A1,0x0000 }, 2 }, /* 17 */ /*expect*/ { 0,1,2 }, |