-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.3.0
-
sparc
-
solaris_2.6
When you run the attached class with an input encoding name of Cp930, Cp933, Cp935, Cp937, Cp939, you will get the following exception
Exception in thread "main" java.lang.InternalError: this.getMaxBytesPerChar returned bad value
at sun.io.CharToByteConverter.convertAll(CharToByteConverter.java:221)
at TestEncoding.test(TestEncoding.java:42)
at TestEncoding.main(TestEncoding.java:25)
The attached java file has only normal operation to convert a character one by one.
Exception in thread "main" java.lang.InternalError: this.getMaxBytesPerChar returned bad value
at sun.io.CharToByteConverter.convertAll(CharToByteConverter.java:221)
at TestEncoding.test(TestEncoding.java:42)
at TestEncoding.main(TestEncoding.java:25)
The attached java file has only normal operation to convert a character one by one.
- duplicates
-
JDK-4199599 Cp930 and Cp939 converters have problems with ITAIJI chars
- Resolved