How to use UTF-8 in NetBeans
(1) Set encoding for Java file to UTF-8
(2) Set compile option to use UTF-8
(2) can be changed on project properties dialog, but (1) needs to be changed for each file, not project based. Alternatively, you can change this option (1) in entire IDE setting. It's not easy... Also it will work just for Java source file. It's not possible to control in other plain text files e.g. .js, .txt, .css. The fundamental issue is that these encoding settings are not part of project properties. I had posted about this before,
I hope this issue will be fixed in NetBeans 6.0 as bug 42638. It has been marked as STARTED and target milestone is now 6.0M7.
- 42638 : I18N - Provide support for File Encoding




Posted by Vincent Brabant on January 27, 2007 at 01:52 AM JST #
Posted by Masaki on January 27, 2007 at 09:54 AM JST #
Posted by bact' on January 28, 2007 at 08:22 PM JST #
Posted by bact' on January 28, 2007 at 08:30 PM JST #
Posted by Masaki on January 28, 2007 at 08:32 PM JST #
Posted by CzechBier on February 20, 2007 at 06:11 AM JST #
Posted by Masaki on February 20, 2007 at 11:58 AM JST #