Marcus G. Daniels writes:
> It appears that the "Default" charset alias isn't handled in the right way.
> I see there's a class CharToByteDefault, but the alias method
> forces the name to upper case.  (A result of this is that unicode.tbl
> file isn't located in the right way with Cygwin.)
> 
> diff -c -r1.7 ConverterAlias.java
> *** libraries/javalib/kaffe/io/ConverterAlias.java    1999/10/25 17:31:26     1.7
> --- libraries/javalib/kaffe/io/ConverterAlias.java    2000/01/30 21:34:31
> ***************
> *** 47,53 ****
>        * @return alias if found, name if not.
>        */
>       static String alias(String name) {
> !     name = name.toUpperCase();
>       String alternate = (String)alias.get(name);
>       if (alternate == null) {
>           return (name);
> --- 47,54 ----
>        * @return alias if found, name if not.
>        */
>       static String alias(String name) {
> !         if (!name.equals ("Default"))
> !         name = name.toUpperCase();
>       String alternate = (String)alias.get(name);
>       if (alternate == null) {
>           return (name);

I fixed this a slightly different way. Let me know if you have
any problems.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com

Reply via email to