JDK-7153735 : [macosx] Text with diacritics is pasted with broken encoding
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u4
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2012-03-14
  • Updated: 2012-04-06
  • Resolved: 2012-04-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u4 b19Fixed 8Fixed
Related Reports
Duplicate :  
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.
21-03-2012