How To Display UTF8 In Netbeans 7,8?

You can setup your Netbeans with startup option
place it inside netbeans.conf into netbeans_default_options

-J-Dfile.encoding=UTF-8

In the end it should look like

netbeans_default_options="..... -J-Dfile.encoding=UTF-8"

Hope it'll help you


Here are instructions for setting the default character set in Netbeans to UTF-8 (in Windows):

1 Go to C:\Program Files\netbeans-x.x\etc
2 Open netbeans.conf in Notepad.
3 On the netbeans_default_options add: -J-Dfile.encoding=UTF-8. (make sure to put it within the quotation marks)
4 Project properties -> Build -> Compiling ->

    Additional compiler options) text box.- add: -encoding UTF-8 

5 You can also check to make sure that you have increased the memory allocation for Netbeans by looking at the netbeans_default_options line. The default max is 128MB. We have increased this to 256MB. 

Ubuntu go directory ex.

sudo gedit /usr/local/netbeans-8.0/etc/netbeans.conf

Add

netbeans_default_options="-J-Dfile.encoding=UTF-8"

Save Fin