-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
1.4.2
-
generic
-
generic
According to the documentation at:
http://webwork.sfbay/j2se/1.4.2/docs/guide/intl/encoding.doc.html
"KOI8_R" encoding is supported by the NIO API. However, the following program shows that an UnsupportedEncodingException gets thrown when trying to obtain a Charset object for that encoding.
------------------------------- Cut Here --------------------------------
import java.nio.charset.*;
import java.nio.*;
public class SimpleTest {
public static void main(String[] args) {
new SimpleTest();
}
public SimpleTest() {
try {
Charset decoder = Charset.forName("KOI8_R");
} catch (Exception e) {
e.printStackTrace();
}
}
}
------------------------------- Cut Here --------------------------------
###@###.### 2003-03-20
http://webwork.sfbay/j2se/1.4.2/docs/guide/intl/encoding.doc.html
"KOI8_R" encoding is supported by the NIO API. However, the following program shows that an UnsupportedEncodingException gets thrown when trying to obtain a Charset object for that encoding.
------------------------------- Cut Here --------------------------------
import java.nio.charset.*;
import java.nio.*;
public class SimpleTest {
public static void main(String[] args) {
new SimpleTest();
}
public SimpleTest() {
try {
Charset decoder = Charset.forName("KOI8_R");
} catch (Exception e) {
e.printStackTrace();
}
}
}
------------------------------- Cut Here --------------------------------
###@###.### 2003-03-20