How to change file encoding in NetBeans?

Go to etc folder in Netbeans home –> open netbeans.conf file and add
on netbeans_default_options following line:

-J-Dfile.encoding=UTF-8

Restart Netbeans and it should be in UTF-8

To check go to help –> about and check System: Windows Vista version 6.0 running on x86; UTF-8; nl_NL (nb)

Leave a Comment