Eclipse中 *.properties 文件编码设置

Eclipse 中的默认编码格式为 ISO-8895-1,在此编码下中文的会显示如下的效果

解决方法

Windows --> Preference --> General Types --> Text --> *.properties --> UTF-8 --> Apply and Close

 效果如下

 

posted on 2018-12-05 15:34  0820LL  阅读(238)  评论(0编辑  收藏  举报

导航