This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 209317 - Text with diacritics is pasted with broken encoding
Summary: Text with diacritics is pasted with broken encoding
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.1.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL: http://bugs.sun.com/bugdatabase/view_...
Keywords: I18N, JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2012-03-08 12:29 UTC by Vladimir Riha
Modified: 2012-07-17 15:53 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (342.36 KB, image/png)
2012-03-08 12:29 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2012-03-08 12:29:02 UTC
Created attachment 116464 [details]
screenshot

When you copy some text from Safari with diacritics (Příliš žluťoučký kůň úpěl ďábelské ódy) and paste it into editor (jsp, css...) the result is text with broken characters, see the screenshot. 

When the text is copied from editor tab to another file in NetBeans all characters remain intact and correct 


It works fine on JDK6


 Product Version         = NetBeans IDE 7.1.1 (Build 201203012225)
(#a903faa1d680)
  Operating System        = Mac OS X version 10.7.3 running on amd64
  Java; VM; Vendor        = 1.7.0_04-ea; Java HotSpot(TM) 64-Bit Server VM
23.0-b16; Oracle Corporation
Comment 1 Antonin Nebuzelsky 2012-03-09 16:16:30 UTC
Is this reproducible with other Java apps, like SwingSet demo?
Comment 2 Stanislav Aubrecht 2012-03-12 11:21:33 UTC
reproducible with a JTextField in plaing swing app (SwingSet demo)
Comment 3 Marian Mirilovic 2012-03-12 12:46:13 UTC
Ok, but what is the bug number on JDK side ?
Comment 4 Tomas Danek 2012-04-06 11:05:26 UTC
copypaste of mentioned text works fine now, verified in 
Product Version: NetBeans IDE 7.1.2 (Build 201204052205)
Java: 1.7.0_04-ea; Java HotSpot(TM) 64-Bit Server VM 23.0-b20
System: Mac OS X version 10.7.3 running on amd64; US-ASCII; en_US (nb)
User directory: /Users/tomas/.netbeans/7.1.2
Cache directory: /Users/tomas/.netbeans/7.1.2/var/cache

(jdk7u4b19)