|
Quick Lists
|
|
Bug ID:
|
4966197
|
|
Votes
|
0
|
|
Synopsis
|
coulpe of charset alias/canonical names that are not supported in nio
|
|
Category
|
java:char_encodings
|
|
Reported Against
|
tiger-beta
|
|
Release Fixed
|
1.5(tiger-b38)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
4784385
|
|
Submit Date
|
10-DEC-2003
|
|
Description
|
This is happening in Pit Build-32 on Solaris.
coulpe of charset alias/canonical names that are supported
in java.io/java.lang are not supported in java.nio.charset
These are mentioned below:-
big5hk
unicode-1-1-utf-8
default
iso_8859-5:1988
iso_8859-13
ISO8859_15
For these if you run the code mentioned below:-
import java.nio.charset.*;
public class test {
public static void main(String[] argv) {
try{
Charset c = Charset.forName(argv[0]);
System.out.println(argv[0] + ": supported (" + c.name() +")");
} catch(UnsupportedCharsetException uce) {
System.out.println(argv[0] + ": NOT supported");
}
}
}
one can see the output NOT Supported.
|
|
Work Around
|
N/A
|
|
Evaluation
|
ok , most but not all were added for 4784385.
This list of missing aliases should be added before 1.5 is completed.
xxxxx@xxxxx 2003-12-10
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |