aboutsummaryrefslogtreecommitdiff
path: root/iconvdata/johab.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-02-16 01:04:59 +0000
committerUlrich Drepper <drepper@redhat.com>2007-02-16 01:04:59 +0000
commit3dc08a7eecc97660b30740f65f4fc4f334600c2e (patch)
tree221fd608a5d7b09e5301e32836f7849b858bb28b /iconvdata/johab.c
parenta810e68c11defde702f515fa6786cc48e595ee0a (diff)
downloadglibc-3dc08a7eecc97660b30740f65f4fc4f334600c2e.tar
glibc-3dc08a7eecc97660b30740f65f4fc4f334600c2e.tar.gz
glibc-3dc08a7eecc97660b30740f65f4fc4f334600c2e.tar.bz2
glibc-3dc08a7eecc97660b30740f65f4fc4f334600c2e.zip
* iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable
mapping of 0xD9 0xE6 and of 0xD9 0xE7. Reported by Jungshik Shin <jungshik@google.com>.
Diffstat (limited to 'iconvdata/johab.c')
-rw-r--r--iconvdata/johab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/iconvdata/johab.c b/iconvdata/johab.c
index 6d6f92235c..8f0ab64e8e 100644
--- a/iconvdata/johab.c
+++ b/iconvdata/johab.c
@@ -1,5 +1,5 @@
/* Mapping tables for JOHAB handling.
- Copyright (C) 1998, 1999, 2000-2002 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000-2002, 2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jungshik Shin <jshin@pantheon.yale.edu>
and Ulrich Drepper <drepper@cygnus.com>, 1998.
@@ -239,7 +239,7 @@ johab_sym_hanja_to_ucs (uint_fast32_t idx, uint_fast32_t c1, uint_fast32_t c2)
if (__builtin_expect (ch2 < 0x31, 0) \
|| (__builtin_expect (ch2 > 0x7e, 0) && ch2 < 0x91) \
|| __builtin_expect (ch2, 0) == 0xff \
- || (__builtin_expect (ch, 0) == 0xd9 && ch2 > 0xe5) \
+ || (__builtin_expect (ch, 0) == 0xd9 && ch2 > 0xe7) \
|| (__builtin_expect (ch, 0) == 0xda \
&& ch2 > 0xa0 && ch2 < 0xd4) \
|| (__builtin_expect (ch, 0) == 0xde && ch2 > 0xf1)) \
@@ -386,7 +386,7 @@ johab_sym_hanja_to_ucs (uint_fast32_t idx, uint_fast32_t c1, uint_fast32_t c2)
break; \
} \
if (__builtin_expect (written == __UNKNOWN_10646_CHAR, 0) \
- || (outptr[0] == 0x22 && outptr[1] > 0x65)) \
+ || (outptr[0] == 0x22 && outptr[1] > 0x67)) \
{ \
UNICODE_TAG_HANDLER (ch, 4); \
STANDARD_TO_LOOP_ERR_HANDLER (4); \