public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/5776] New: Some conversions to ISO-2022-JP produce invalid text
@ 2008-02-19 21:45 aurelien at aurel32 dot net
  2008-02-20  0:01 ` [Bug libc/5776] " bdonlan at gmail dot com
  2008-03-09  1:07 ` drepper at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: aurelien at aurel32 dot net @ 2008-02-19 21:45 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-09  1:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-19 21:45 [Bug libc/5776] New: Some conversions to ISO-2022-JP produce invalid text aurelien at aurel32 dot net
2008-02-20  0:01 ` [Bug libc/5776] " bdonlan at gmail dot com
2008-03-09  1:07 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).