This is the mail archive of the libc-alpha@cygnus.com 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]

gconv/iconv bugs about japanese character code


>Submitter-Id:	net
>Originator:	HANATAKA Shinya 
>Organization:
	Japanese Linux User
>Confidential:	no
>Synopsis:	do not work ISO-2022-JP, EUC-JP, SJIS gconv
>Severity:	serious
>Priority:	medium
>Category:	libc
>Class:		sw-bug
>Release:	libc-2.0.102
>Environment:
	any japanese environment which use japanese locales.
Host type: i586-pc-linux-gnu
System: Linux chaos 2.1.125 #11 SMP Sun Oct 25 14:56:05 JST 1998 i586 unknown
Architecture: i586

Addons: crypt linuxthreads
Build CFLAGS: -O3 -mpentium
Build CC: gcc
Compiler version: pgcc-2.91.57 19980901 (egcs-1.1 release)
Kernel headers: 2.1.125
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: yes
Build omitfp: no
Build bounded: no
Build static-nss: no
Stdio: libio

>Description:
	I'm testing glibc-2.0.102, and I found some bug about japanese,
	(EUC-JP, SJIS, ISO-2022-JP).

	1. character convert table error.
	2. variable name error.
	3. pointer increment is fogetten
	4. minor converting algorism error
	5. and so on.

>How-To-Repeat:
	1. iconv -f SJIS -t UCS4 < any-japanese-file
	2. iconv -f EUC-JP -t UCS4 < any-japanese-file
	3. iconv -f ISO-2022-JP -t UCS4 < any-japanese-file

>Fix:
	I wrote simple patch. please get
	http://www.st.rim.or.jp/~hanataka/glibc-2.0.102-japanese-fix01.gz
	, or I can send it by e-mail on uuencoded. 


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