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]

update ISO-8859-7 converters


Hi Ulrich,

According to http://www.unicode.org/Public/MAPPINGS/ISO8859/8859-7.TXT
ISO-8859-7 was extended in 2003, to add 3 characters.

Here is a patch to update glibc's charmap and iconv converter.
I don't think it would be useful to support ISO_8859-7:1987 and
ISO_8859-7:2003 because it would generate gratuitous conversion
failures here and there.


ChangeLog:
2004-07-22  Bruno Haible  <bruno@clisp.org>

	* iconvdata/gconv-modules (ISO-8859-7): Add alias ISO_8859-7:2003.

localedata/ChangeLog:
2004-07-22  Bruno Haible  <bruno@clisp.org>

	* charmaps/ISO-8859-7: Add mappings for 0xA4, 0xA5, 0xAA. Add alias
	ISO_8859-7:2003.

--- glibc-20040802/localedata/charmaps/ISO-8859-7.bak	2000-07-03 16:45:20.000000000 +0200
+++ glibc-20040802/localedata/charmaps/ISO-8859-7	2004-07-22 03:02:13.000000000 +0200
@@ -5,6 +5,7 @@
 %  source: ECMA registry
 
 % alias ISO-IR-126
+% alias ISO_8859-7:2003
 % alias ISO_8859-7:1987
 % alias ISO_8859-7
 % alias ELOT_928
@@ -176,10 +177,13 @@
 <U2018>     /xa1         LEFT SINGLE QUOTATION MARK
 <U2019>     /xa2         RIGHT SINGLE QUOTATION MARK
 <U00A3>     /xa3         POUND SIGN
+<U20AC>     /xa4         EURO SIGN
+<U20AF>     /xa5         DRACHMA SIGN
 <U00A6>     /xa6         BROKEN BAR
 <U00A7>     /xa7         SECTION SIGN
 <U00A8>     /xa8         DIAERESIS
 <U00A9>     /xa9         COPYRIGHT SIGN
+<U037A>     /xaa         GREEK YPOGEGRAMMENI
 <U00AB>     /xab         LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
 <U00AC>     /xac         NOT SIGN
 <U00AD>     /xad         SOFT HYPHEN
--- glibc-20040802/iconvdata/gconv-modules.bak	2003-08-19 12:15:24.000000000 +0200
+++ glibc-20040802/iconvdata/gconv-modules	2004-07-22 02:59:14.000000000 +0200
@@ -299,6 +299,7 @@
 
 #	from			to			module		cost
 alias	ISO-IR-126//		ISO-8859-7//
+alias	ISO_8859-7:2003//	ISO-8859-7//
 alias	ISO_8859-7:1987//	ISO-8859-7//
 alias	ISO_8859-7//		ISO-8859-7//
 alias	ISO8859-7//		ISO-8859-7//


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