`

设置myeclipse中.properties文件的编码方式

    博客分类:
  • Java
阅读更多

   

        出现的问题,锁定编码格式:



       

        当修改右侧的编码类型"ISO-8859-1"为"UTF-8",保存设置,无效。


 

 

        打开myeclipse的:Window – Perferences – General – Editors – Context Types 

 

或者:Window – Perferences – General – Context Types 展开右边的Text 节点,

 

选中 Java Properties File 。把下面的Default Character Set 的值: ISO-8859-1 改成 UTF-8

 

或者你希望的字符编码类型,然后点击update按钮,最后确定。

 



 

        修改完成后:



 

  • 大小: 51.5 KB
  • 大小: 20.8 KB
  • 大小: 63.8 KB
  • 大小: 21.3 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics