Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 28 Jun 2000 18:11:30 +0000 (18:11 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 28 Jun 2000 18:11:30 +0000 (18:11 +0000)
* iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
sequences with first by 0x8e correctly.

ChangeLog
iconvdata/euc-jp.c
localedata/ChangeLog

index 11b9096..3a73d1c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
 
+       * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
+       sequences with first by 0x8e correctly.
+
        * iconvdata/jis0208.h: Remove redundant test.
 
 2000-06-27  Ulrich Drepper  <drepper@redhat.com>
index fc0794d..39cf6a8 100644 (file)
          {                                                                   \
            /* This is code set 2: half-width katakana.  */                   \
            ch = jisx0201_to_ucs4 (ch2);                                      \
+           if (__builtin_expect (ch, 0) == __UNKNOWN_10646_CHAR)             \
+             {                                                               \
+               /* Illegal character.  */                                     \
+               if (! ignore_errors_p ())                                     \
+                 {                                                           \
+                   /* This is an illegal character.  */                      \
+                   result = __GCONV_ILLEGAL_INPUT;                           \
+                   break;                                                    \
+                 }                                                           \
+                                                                             \
            inptr += 2;                                                       \
          }                                                                   \
        else                                                                  \
index df947d7..b5becf7 100644 (file)
@@ -1,5 +1,8 @@
 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
 
+       * locales/iso14651_t1: Explicitly add control character in
+       U0000-U001F and U007F-U009F range for backward compatibility.
+
        * locales/i18n: Correct problems found by test suite.
 
 2000-06-28  Andreas Jaeger  <aj@suse.de>