-
Bug
-
Resolution: Fixed
-
P3
-
1.2.1, 1.3.0, 1.4.0
-
None
-
beta
-
generic, sparc
-
generic, solaris_2.5.1, solaris_7, solaris_8
assumes that X11-COMPOUND_TEXT is a fully supported encoding in the Sun JRE.
However, converters for this encoding have not yet been written. Attempts to
transfer text between two Solaris or Linux JVMs will generate the following
(non-fatal) exception:
java.io.UnsupportedEncodingException: X11-COMPOUND_TEXT
at sun.io.Converters.getConverterClass(Converters.java:107)
at sun.io.Converters.newConverter(Converters.java:138)
at sun.io.CharToByteConverter.getConverter(CharToByteConverter.java:67)
at java.lang.String.getCTBConverter(String.java:157)
at java.lang.String.getBytes(String.java:685)
at sun.awt.datatransfer.DataTransferer.translateTransferable(DataTransferer.java:647)
at sun.awt.datatransfer.DataTransferer$4.run(DataTransferer.java:1219)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:421)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:140)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:121)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Once these converters are putback, the transfer of international text on
Solaris and Linux should be trivial.
Note that the encoding name 'X11-COMPOUND_TEXT' is preliminary and may need
to be changed to conform with MIME standards.
- duplicates
-
JDK-4404190 can't input type Thai text in Stylepad or other jTextArea app
-
- Closed
-
-
JDK-4219272 Sol: drag & drop from CDE native application, to support non-latin string
-
- Closed
-
-
JDK-4313838 Win&Sol Japanese:DnD from native app doesn't work with selectBestTextFlavor
-
- Closed
-
-
JDK-4413302 java.io.UnsupportedEncodingException when using Forte for Java with Merlin
-
- Closed
-
-
JDK-4397953 Java Plug-in Merlin build 44 Applet usability's copy button in Java Console fail
-
- Closed
-
- relates to
-
JDK-4258903 Transferring text via DnD and Clipboard is too difficult
-
- Resolved
-
-
JDK-4351203 sun.awt.motif.CharToByteX11CNS11643P* converters not up to spec
-
- Closed
-
-
JDK-4718897 Clipboard context does not work correctly on Solaris
-
- Closed
-