NetBeans 如何储存UTF8中文

NetBeans default encoding as UTF-8

NetBeans default encoding UTF-8 step-by-step guide

  1. Go to etc folder in NetBeans installation directory
  2. Edit netbeans.conf file
  3. Find netbeans_default_options line
  4. Add -J-Dfile.encoding=UTF-8 inside quotation marks inside that line (example: netbeans_default_options="-J-Dfile.encoding=UTF-8")
  5. Restart NetBeans

版本8.2测试成功

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注