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.
-[project name] -> [right click] -> "Properties" -> "Sources" -> "Encoding" (on the right bottom): After changing the encoding and pressing "OK" the IDE doesn't refresh existing opened "sources" according to the newly specified encoding - it only applies the new encoding to the "sources" that will be opened in the future. So one has to close the opened "sources" (java source files) and and open them again. Would be good for the IDE to do this for the user/programmer (this option is important for projects working with "non-english" encodings, such as russian (windows-1251) and chinese) Product Version: NetBeans IDE 6.0 M10 (build 200706281431) Java: 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02 System: Linux version 2.6.20-16-generic running on i386 (Ubuntu Feisty Fawn); UTF-8; en_US (nb) Userdir: /home/brian/.netbeans/6.0m10
Reassigned to "editor".
yes, and accroding to description of NB6.0_M10 help document(F1), you can not find "Java Source". The help document described as below: 1. From the main window, choose Tools > Options and click Advanced Options. 2. In the left pane, expand the Editing node and select Java Sources. 3. Set properties as desired in the right pane of the window. There is no "Java Sources" item in the Editing node.
I think the description of the issue is how the new project encoding feature is supposed to work; that all files created after the user changes the encoding will be viewed as that encoding but files changed before that - the user would need to change them so they are correct for the encoding. The thought is I think that the java or other compiler can use one encoding - so that user would need all files to be in same encoding. Also, the previously created files will not be automatically changed to the new encoding; there is not autodetection done. to filer - the default encoding for nb6 projects is utf-8 - would that be helpful in that it might handle most characters that would be working with - even if locales were changed and reran ide ? ken.frank@sun.com
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss