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.
[ BUILD # : 051102 ] [ JDK VERSION : 1.5.0_03 ] i filed another issue againts java editor about it does not save java files in utf-8 or other unicode transforation nor it provide an option to determine the source files encoding which i think is a very needed option. http://www.netbeans.org/issues/show_bug.cgi?id=68178 now i convert my file to utf-8 in eclipse ide (my default encoding is utf-8 there) and reopen it in netbeans ide , it add some unknown character to the beginning og the file. so the file can not be compiled ..... as i thought that it could be Eclipse problem , i reopen the file in Jdev and Jdev show the file correctly. also it can be compiled with JAVAC outside of the IDE > it is IDE editor bug. here is what netbeans editor add to file header thank you
/* * Main.java * * Created on August 28, 2005, 12:56 AM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */  <--- it is what netbeans add to the begining of the file when it shows the file. i even test a file without java doc and i get the same problem. thank you.
You must set default encoding to UTF-8: It is still there: Tools | Options -> Advanced Options -> Editing | Java Sources -> Default Encoding.
i was blind or maybe the time was too Odd sorry if it brings burden to you