This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/5776] New: Some conversions to ISO-2022-JP produce invalid text


Converting the following UTF8 sequence to ISO-2022-JP//TRANSLIT, then
back to UTF-8 fails:
$ perl -e 'print join("", map { chr hex $_ } qw/e3 83 a2 ef bd 9e 0a/)' | \
  iconv -f utf8  -t iso-2022-jp//TRANSLIT|iconv -f iso-2022-jp -t utf8
モiconv: illegal input sequence at position 5

Either iconv has generated invalid ISO-2022-JP, or it refuses to accept
valid ISO-2022-JP.

-- 
           Summary: Some conversions to ISO-2022-JP produce invalid text
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: aurelien at aurel32 dot net
                CC: debian-glibc at lists dot debian dot org,glibc-bugs at
                    sources dot redhat dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=5776

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]