This is the mail archive of the libc-alpha@sources.redhat.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]
Other format: [Raw text]

bugs in recent iconv converters



Hi,

Some recently added iconv converters don't have a charmap. As a
consequence, the testsuite does not check them very strictly. And
indeed, the TCVN converter has a bug, and the ARMSCII-8 is completely
unusable.

Here is a patch that adds these new converters to the testsuite and
fixes the bugs.


ChangeLog:
2002-04-15  Bruno Haible  <bruno@clisp.org>

	* iconvdata/armscii-8.c (BODY for FROM_LOOP): Fix array access.
	(BODY for TO_LOOP): Likewise.
	* iconvdata/tcvn5712-1.c (from_ucs4): Map U+0309 to 0xB1.
	* iconvdata/tst-table.sh: Add support for encodings which contain
	precomposed Unicode characters, known to the iconv converter in both
	directions but not listed in the charmap.
	* iconvdata/IBM856.irreversible: New file.
	* iconvdata/IBM922.irreversible: New file.
	* iconvdata/IBM1132.irreversible: New file.
	* iconvdata/IBM1133.irreversible: New file.
	* iconvdata/IBM1160.irreversible: New file.
	* iconvdata/IBM1161.irreversible: New file.
	* iconvdata/IBM1163.irreversible: New file.
	* iconvdata/IBM1164.irreversible: New file.
	* iconvdata/ARMSCII-8.irreversible: New file.
	* iconvdata/TCVN5712-1.precomposed: New file.
	* iconvdata/tst-tables.sh: Add IBM856, IBM922, IBM1124, IBM1129,
	IBM1160, IBM1161, IBM1132, IBM1133, IBM1162, IBM1163, IBM1164,
	ARMSCII-8, TCVN5712-1.
	* iconvdata/Makefile (distribute): Add IBM856.irreversible,
	IBM922.irreversible, IBM1132.irreversible, IBM1133.irreversible,
	IBM1160.irreversible, IBM1161.irreversible, IBM1163.irreversible,
	IBM1164.irreversible, ARMSCII-8.irreversible, TCVN5712-1.precomposed.

localedata/ChangeLog:
2002-04-15  Bruno Haible  <bruno@clisp.org>

	* charmaps/IBM856: New file.
	* charmaps/IBM922: New file.
	* charmaps/IBM1124: New file.
	* charmaps/IBM1129: New file.
	* charmaps/IBM1160: New file.
	* charmaps/IBM1161: New file.
	* charmaps/IBM1132: New file.
	* charmaps/IBM1133: New file.
	* charmaps/IBM1162: New file.
	* charmaps/IBM1163: New file.
	* charmaps/IBM1164: New file.
	* charmaps/ARMSCII-8: New file.

[The patch is too large for this mailing list. You can download it from
ftp://ftp.ilog.fr/pub/Users/haible/gnu/glibc-unicode32-patch0 .]


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