MyEclipse10中文乱码

来源:互联网 发布:it ba 编辑:程序博客网 时间:2024/05/18 02:42

MyEclipse10中文乱码

1进入window->preferences

  • general->content types,可以设置Text对应的default encoding值为UTF-8或为空,然后点击update即可。也可能点击Text进入java source file属性,设置default encoding值为UTF-8或为空,点击update。
  • general->editors->text editors->spelling。设置encoding属性为UTfF-8.
  • general->workspace。设置text file encoding为UTF-8.
  • myeclipse ->files and editors。此处通常无需修改,保持默认即可。默认ASP and PHP和JSP的encoding为ISO Latin-1,其他属性的encoding值为ISO 10646/Unicod(UTF-8)
0 0
原创粉丝点击