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 204291

Summary: Files that do not belong to any project, do not default to utf-8 encoding
Product: editor Reporter: c69
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal CC: aiken_cz, mmirilovic, tmysik, tvaroha
Priority: P2    
Version: 7.0.1   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: ENHANCEMENT Exception Reporter:

Description c69 2011-10-26 17:35:46 UTC
When you install NetBeans, you cannot work with utf-8 files, unless you modify netbeans.conf manually. 

-J-Dfile.encoding=UTF-8 is not hard to write, but - maybe its better to just set it by default ? (at least for Netbeans PHP installer)
Comment 1 Tomas Mysik 2011-10-27 06:53:03 UTC
Mariane, this issue is not PHP specific, it is more about IDE config file or about default file encoding in general (sorry, no idea where this issue belongs).

Comment 2 Marian Mirilovic 2011-10-27 07:02:30 UTC
Ok, reassign to editor ... they might know where this belong to.

Editor guys, feel free to reassign.
Comment 3 Miloslav Metelka 2011-10-31 10:55:03 UTC
There should be a contrib/encoding module which should pop up a dialog asking what encoding should be used and remember that information in NB file system attributes.
If we would make the UTF-8 the default then there would be no way to override it (currently there's the command line option). If we want to improve the situation we should IMHO make a configurable option in the options UI.
Comment 4 Tomas Mysik 2012-03-30 09:47:28 UTC
*** Bug 210392 has been marked as a duplicate of this bug. ***
Comment 5 Tomas Mysik 2012-05-11 12:53:51 UTC
*** Bug 212354 has been marked as a duplicate of this bug. ***