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.
Following Situation: Workstation: cp1252 encoding Eclipse Ganymede: Text file encoding utf-8 Netbeans: 6.1 Encoding utf-8 Netbeans mangles the non-ASCII characters when working on an imported Eclipse project! I gave it a P1 priority because this means data loss when you are working with non-ASCII-Charsets. Usually you'll have to reconstruct this data loss by hand. You are more or less forced to use utf-8 on web applications. I can't understand why a different encoding between application and host/workstation is such a huge problem for the IDE developers? I've filed a report about another utf-8 problem in Eclipse and especially Netbeans reports are full of utf-8 issues. Product Version: NetBeans IDE 6.1 (Build 200804211638) Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22 System: Windows XP version 5.1 running on x86; Cp1252; de_DE (nb) All current patches applied.
Fixed by Jesse week or two ago - encoding specified in eclipse project (if any) is used also by NetBeans. Btw. Eclipse Import is being significantly improved for NB6.5.
Or should have been fixed at least. Independent verification in a 6.5 dev build would be appreciated.
And when it is backported to Netbeans 6.1? I was nearly one year at the bleeding edge of Netbeans and now I have to be productive the next months. A M1 milestone - especially at Netbeans - isn't something which I want to use for productive work.
Re. "when it is backported to Netbeans 6.1" - I'm not aware of any plans to backport any bugfixes in Eclipse import to 6.1. Isn't all what you need is to import Eclipse project to NB and then in project properties (before opening any source) adjust source encoding and you are done?
No, after some changes the non-ASCII chraracters are mangled - it's somehow erratic, I didn't founnd any pattern when it habppens. But it happens - unexpected, perfidious...
That sounds like general editor problem which should not be limited to just projects imported from Eclipse. If you find a reproducible case please open a new issue directly on editor. Thanks.