I believe one of the important bugfixes for NetBeans 6.0 is
  • 42638: I18N - Provide support for File Encoding
Most developers are in trouble now when they want to use different encoding other than platform encoding on NetBeans 5.x. I also want to use UTF-8 on Windows platform, but NetBeans 5.x does not have the capability for setting encoding in project. Good news is that the initial patch have been posted for j2seproject and started code reviewing. I haven't tried the patch yet and didn't check the detail discussion in the bug report, but I understand the enhancement would be,
  • default encoding will be UTF-8
  • started implementation in j2seproject first
  • Encoding can be specified in project
  • Encoding setting will appear in "Source" category of project property dialog
  • Provide a combo-box UI from available encodings to choose the encoding
The new target milestone has been set to 6.0 M8.
Comments:

I have tha same opinion!

Posted by t.prochazka on February 16, 2007 at 08:33 PM JST #

Hi prochazka, thank you for comment!! Let's see what will happen at M8 :)

Posted by Masaki on February 16, 2007 at 09:13 PM JST #

Very disagreeable is also this bug: http://www.netbeans.org/issues/show_bug.cgi?id=42638 It's maybe related with 42638, but I hope that it will be fixed before M8. Actual dev version of NB6 is great, only this is huge problem for me.

Posted by t.prochazka on February 17, 2007 at 07:07 AM JST #

>> I also want to use UTF-8 on >> Windows platform, but NetBeans >> 5.x does not have the capability >> for setting encoding in project. I always do this via editing nbproject/build-impl.xml, simply add encoding="UTF-8" to target "-init-macrodef-javac"

Posted by licvidator on February 17, 2007 at 07:28 AM JST #

What a good news for CJK programmers!!

Posted by KwonNam on February 18, 2007 at 06:57 PM JST #

Hi KwonNam, thank you for comment and I completely agree with you! btw, are you speak Korean? Are you interested in localization of NetBeans into Korean? :)

Posted by masaki on February 18, 2007 at 07:06 PM JST #

Hi licvidator, thank you for the information. I have never used the -init-macrodef-javac, is this just setting compiler encoding? or both compiler and editor encoding? At 5.0, I understand we need to set UTF-8 for both Java source file property and compiler option (e.g. http://blogs.sun.com/katakai/entry/how_to_use_utf_8)

Posted by masaki on February 18, 2007 at 07:10 PM JST #

Post a Comment:
Comments are closed for this entry.

This blog copyright 2009 by katakai