Patch: add iso8859_1 alias

Anthony Green green@redhat.com
Mon Sep 3 22:00:00 GMT 2001


iso5589_1 may be used as an alias for 8859_1.  This is needed for xerces.

Ok for trunk?

AG


Mon Sep  3 21:55:59 2001  Anthony Green  <green@redhat.com>

	* gnu/gcj/convert/IOConverter.java: Add support for iso8859_1.

Index: libjava/gnu/gcj/convert//IOConverter.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/gcj/convert/IOConverter.java,v
retrieving revision 1.5
diff -u -p -r1.5 IOConverter.java
--- IOConverter.java	2001/08/17 18:09:24	1.5
+++ IOConverter.java	2001/09/04 04:57:55
@@ -45,6 +45,7 @@ public abstract class IOConverter
     hash.put ("ibm367", "ASCII");
     hash.put ("cp367", "ASCII");
     hash.put ("csascii", "ASCII");
+    hash.put ("iso8859_1", "8859_1");
     hash.put ("iso_8859-1:1987", "8859_1");
     hash.put ("iso-ir-100", "8859_1");
     hash.put ("iso_8859-1", "8859_1");



More information about the Java-patches mailing list