-
Bug
-
Resolution: Duplicate
-
P5
-
None
-
1.2.0
-
None
-
generic
-
generic
The encoding converter API (src/share/classes/sun/io/CharToByteConverter.java) specifies the following behavior when unknown characters are encountered in the input: If substitution mode is enabled, the unknown character is mapped to the substitution bytes for the converter. If substitution mode is disabled, an UnknownCharacterException is thrown.
None of the motif encoding converters implement this behavior as specified. Most map unknown characters to random, implementation-dependent bytes. The Dingbats converter throws the exception independent of the substitution mode.
This bug makes the current implementation of multi-fonts completely unusable - text that needs multiple fonts is at most partially displayed. See bug 4072782 for details.
None of the motif encoding converters implement this behavior as specified. Most map unknown characters to random, implementation-dependent bytes. The Dingbats converter throws the exception independent of the substitution mode.
This bug makes the current implementation of multi-fonts completely unusable - text that needs multiple fonts is at most partially displayed. See bug 4072782 for details.
- duplicates
-
JDK-4954012 Convert use of old sun.io APIs into new java.nio.charset APIs
- Resolved
- relates to
-
JDK-4087772 Dingbats converter throws ArrayIndexOutofBoundsException
- Closed
-
JDK-4072782 AWT components are unable to display non-Latin text
- Closed