-[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:
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
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 ?