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 - Files that do not belong to any project, do not default to utf-8 encoding
Summary: Files that do not belong to any project, do not default to utf-8 encoding
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0.1
Hardware: PC Windows 7 x64
: P2 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
: 210392 212354 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-26 17:35 UTC by c69
Modified: 2012-05-11 12:53 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).

Thanks.
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. ***