This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Complete GB18030 charmap
"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
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."