United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7153735 [macosx] Text with diacritics is pasted with broken encoding
JDK-7153735 : [macosx] Text with diacritics is pasted with broken encoding

Details
Type:
Bug
Submit Date:
2012-03-14
Status:
Closed
Updated Date:
2012-04-06
Project Name:
JDK
Resolved Date:
2012-04-06
Component:
client-libs
OS:
os_x
Sub-Component:
java.awt
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:
7u4 (b19)

Related Reports
Backport:
Duplicate:

Sub Tasks

Description
When copying text containing diacritics (e.g. "P????li?? ??lu??ou??k?? k???? ??p??l
????belsk?? ??dy") from e.g. Safari and pasting it to a JTextField or JTextArea the resulting text field content is broken.

See NetBeans bug description for more info: http://netbeans.org/bugzilla/show_bug.cgi?id=209317
bugster doesn't support characters outside of the default encoding char set, please see netbeans bug description for sample text to copy-paste

                                    

Comments
EVALUATION

The problem here is that we are using the file flavormap.properties created for Solaris OS and it states that strings in native buffers are stored in iso8859-1 format which is not true on Mac OS. The solution is to make our own set of property files for Mac OS X and to modify makefiles to use them instead of Solaris ones.
                                     
2012-03-21



Hardware and Software, Engineered to Work Together