Solution given by Danny
Navigate to
<Netbeans installation directory>/etcand open thenetbeans.conffile.Add
-J-Dfile.encoding=UTF-8at the end of the line that starts withnetbeans_default_options(make sure to include the leading space).Restart Netbeans and it should be in UTF-8
To verify go to
help -> aboutand check System:Windows Vista version 6.0 running on x86; UTF-8; nl_NL (nb)