[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] [bugs #11740] java.nio.charset.Charset: case-sensitive, alia
From: |
anonymous |
Subject: |
[commit-cp] [bugs #11740] java.nio.charset.Charset: case-sensitive, aliases missing |
Date: |
Wed, 26 Jan 2005 14:42:26 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050110 Firefox/1.0 (Debian package 1.0+dfsg.1-2) |
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11740>
Summary: java.nio.charset.Charset: case-sensitive, aliases
missing
Project: classpath
Submitted by: None
Submitted on: Wed 01/26/2005 at 09:42
Category: classpath
Severity: 5 - Average
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Platform Version: None
_______________________________________________________
Details:
I consider case-sensitivity a bug, dunno about
missing aliases. As they are for convinience, the
more the better?
-----------------------------
java: Blackdown 1.4.2-01
jamvm-cvs: jamvm 1.2.4 + classpath CVS
$ java Test
utf-8 = true
utf8 = true
iso-8859-1 = true
latin1 = true
UTF-8 = true
UTF8 = true
ISO-8859-1 = true
LATIN1 = true
$ jamvm-cvs Test
utf-8 = false
utf8 = false
iso-8859-1 = false
latin1 = false
UTF-8 = true
UTF8 = false
ISO-8859-1 = true
LATIN1 = false
$
--------------------------------
import java.nio.charset.Charset;
public class Test {
static String [] list = {
"utf-8", "utf8", "iso-8859-1", "latin1",
"UTF-8", "UTF8", "ISO-8859-1", "LATIN1",
};
public static void main(String [] args) {
for (int i = 0; i < list.length; i++) {
String cs = list[i];
System.out.println(cs + " = " + Charset.isSupported(cs));
}
}
}
_______________________________________________________
This item URL is:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11740>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [commit-cp] [bugs #11740] java.nio.charset.Charset: case-sensitive, aliases missing,
anonymous <=