This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: add iso8859_1 alias
- To: java-patches at sources dot redhat dot com
- Subject: Patch: add iso8859_1 alias
- From: Anthony Green <green at redhat dot com>
- Date: Mon, 3 Sep 2001 22:00:04 -0700
- Reply-to: green at cygnus dot com
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");