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/13518] iconv truncates input with //IGNORE


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

--- Comment #1 from Edward Z. Yang <ezyang at mit dot edu> 2011-12-18 22:55:50 UTC ---
Created attachment 6117
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6117
Alpha, followed by a lot of x's

Here's a better, more minimal test-case.

ezyang@javelin:~$ Dev/glibc/build/testrun.sh Dev/glibc/build/iconv/iconv_prog
-f utf-8 -t ascii//IGNORE < test.txt | wc -c
Dev/glibc/build/iconv/iconv_prog: illegal input sequence at position 8161
8159

ezyang@javelin:~$ Desktop/libiconv-1.14/src/iconv_no_i18n -f utf-8 -t
ascii//IGNORE < test.txt | wc -c
11059

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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