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 228196

Summary: Icorrect encoding when editing .properties file
Product: utilities Reporter: ecerichter
Component: PropertiesAssignee: Jan Peska <JPESKA>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot of Notepad++
Screenshot of NetBeans
Sample file for testing

Description ecerichter 2013-04-03 11:38:04 UTC
Product Version = NetBeans IDE Dev (Build 201304012300)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_17
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01

We have a .properties file that is encoded as UTF-8 without BOM.
I can edit this file in Eclipse and also in Notepad++, but when I open the file in NetBeans, the encoding is wrong.

Attached there is the screenshot of the file in NetBeans with project properties, showing that the project is correctly set to UTF-8.
Also, there is the screenshot of Notepad++ showing the current encoding of the file (Notepad++ has a nice feature of auto-detect encodings that is awesome).

I've added the first portion of the file that includes native characters (brazilian). I hope this helps.

Regards,

Edson
Comment 1 ecerichter 2013-04-03 11:38:54 UTC
Created attachment 133275 [details]
Screenshot of Notepad++
Comment 2 ecerichter 2013-04-03 11:39:36 UTC
Created attachment 133276 [details]
Screenshot of NetBeans
Comment 3 ecerichter 2013-04-03 11:40:15 UTC
Created attachment 133277 [details]
Sample file for testing
Comment 4 Jan Peska 2013-04-03 11:58:23 UTC

*** This bug has been marked as a duplicate of bug 75906 ***