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.
I have still problem with encoding in NB 5 final and tested it also in 5.5 (netbeans-5_5-daily-bin-200602240300-24_Feb_2006_0300.zip) and also in latest 6. 0 When I set in Advanced Options -> Editing -> Java Sources -> String Tables for example "USER=Tomáš Procházka" and create new class (in template is __USER__), NB create new file with "@author Tomáš". Problem is also with output console. When I write to code this: System.out.println("Tomáš"); NB write square in place of áš Problem exists only when I use -J-Dfile.encoding=UTF-8 for run NB. When I use Java Sources -> Default Encoding all is OK, but in this mode is used UTF-8 only for Java Sources and I need it for all open files in NB. And I don’t understand why “String Tables” is only in advanced mode of Options. I think, that Template manager would be better place for it.
This is not still not fixed in daily build 200606120200 :-( Will be fixed to final 5.5 I think, that this is important and small problem.
With startup argument -J-Dfile.encoding=UTF-8 also output console use invalid encoding.
If you don't use the args for setting encoding -D.... is it ok or is there still problems ? and when in the option you mention for string table, when you set the encoding for java file, does it help ? if there is gif of how things look, that could be helpful also, also what platform are you using ? ken.frank@sun.com
> If you don't use the args for setting encoding -D.... > is it ok or is there still problems ? > and when in the option you mention for string table, > when you set the encoding for java file, does it help ? When I set only encoding for Java file, not -D... encoding, all it's OK. Templates and output window show corect all chars. But problem is, that I need all files in UTF-8, not only java source file, but also XML, TXT, etc. Really do you need screenshot? I wrote how this looks in description of issue. Also I defined OS to Windows XP. But I can make screenshot, but it looks like: /** * * @author Tomáš Procházka <<a href="mailto:tom.p@sf.cz">tom.p@sf.cz</ a>> * @version $Revision: $ ($Date: $) */ public class NewClass {
Javacore module was replaced by Retouche infrastructure. This bug is not valid in trunk any more.
To bug filer, is this still a problem in nb6 ? ken.frank@sun.com
Yes, this bug is fixed. Here is one similar bug: http://www.netbeans.org/issues/show_bug.cgi?id=104770
verified
Reorganization of java component