This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Complete GB18030 charmap
On Thu, May 10, 2012 at 4:09 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> "Carlos O'Donell" <carlos@systemhalted.org> writes:
>
>> printf "\xf0\xa0\xb3\x90\n" > bz11837-t1.txt
>> GCONV_PATH=/home/carlos/build/glibc/iconvdata ./elf/ld-linux.so.2
>> --library-path /home/carlos/build/glibc:/home/carlos/build/glibc/elf:/home/carlos/build/glibc/dlfcn
>> ./iconv/iconv_prog -t GB18030 ./bz11837-t1.txt
>> ./iconv/iconv_prog: illegal input sequence at position 0
>
> WORKSFORME.
>
> $ printf "\xf0\xa0\xb3\x90\n" | ./testrun.sh iconv/iconv_prog -t GB18030 | od -tx1z
> 0000000 95 34 ce 36 0a ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? >.4.6.<
> 0000005
Darn. I've got one regression in bug22 which looks like a compiler
issue in Ubuntu and that might be effecting this case.
OK, I feel like we've done enough smoke testing of this patch.
Please check this in tomorrow if I don't find anything else wrong :-)
Cheers,
Carlos.