Howdy, I've got a simple patch (from the output of cvs diff -u) here 
that adds US-ASCII to be an alias for ASCII in java.io.ConverterAlias. 
US-ASCII is the real name for the encoding, and all the other VM's 
accept it.

This didn't work earlier: 'String.getBytes("US-ASCII");' after the patch,
it works.

--
V.K.
Index: libraries/javalib/kaffe/io/ConverterAlias.java
===================================================================
RCS file: /cvs/kaffe/kaffe/libraries/javalib/kaffe/io/ConverterAlias.java,v
retrieving revision 1.13
diff -u -r1.13 ConverterAlias.java
--- libraries/javalib/kaffe/io/ConverterAlias.java      28 Aug 2001 15:00:59 -0000     
 1.13
+++ libraries/javalib/kaffe/io/ConverterAlias.java      28 Sep 2002 09:49:02 -0000
@@ -49,6 +49,7 @@
        alias.put("EUCJP",              "EUC_JP");
        alias.put("EUC-JP",             "EUC_JP");
        alias.put("EUCJIS",             "EUC_JP");
+       alias.put("US-ASCII",           "ASCII");
        /* add more here */
     }
 

Reply via email to