NetBeans default encoding UTF-8 step-by-step guide
- Go to
etc
folder in NetBeans installation directory - Edit
netbeans.conf
file - Find
netbeans_default_options
line - Add
-J-Dfile.encoding=UTF-8
inside quotation marks inside that line (example:netbeans_default_options="-J-Dfile.encoding=UTF-8"
) - Restart NetBeans
版本8.2测试成功