classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] RFC: Making character encoding aliases case-insensitive


From: Jeroen Frijters
Subject: [cp-patches] RFC: Making character encoding aliases case-insensitive
Date: Sat, 26 Mar 2005 16:57:09 +0100

Hi,

To reduce the mess of character encoding aliases a little bit, I propose
we make them case insenstive. This reduces the number of aliases a bit
and also makes us better compatible with the JDK, which also treats
encoding names as case insensitive.

The only downside I can think of is that existing startup scripts that
specify an additional encoding alias that is not in lower case, will
break.

Any objections or comments?

Regards,
Jeroen

2005-03-26  Jeroen Frijters  <address@hidden>

        * gnu/classpath/SystemProperties.java (static): Converted
encoding aliases
        to lower case and removed redudant aliases.
        * gnu/java/io/EncodingManager.java
        (findEncoderConstructor, findDecoderConstructor): Convert
encoding to
        lowercase before looking for alias.
        * java/lang/System.java (getProperties): Removed uppercase
aliases from
        comments.

Attachment: encoding-alias.patch.txt
Description: encoding-alias.patch.txt


reply via email to

[Prev in Thread] Current Thread [Next in Thread]