在eclipse中编写properties文件时,如果直接写中文,它不会自动转换成ASCII编码,在浏览器中就会显示为乱码。

首先,在eclipse中点击“help”-"Install New Software"。

Name:    properties

Location:     http://propedit.sourceforge.jp/eclipse/updates/

《eclipse》eclipse中安装properties插件

《eclipse》eclipse中安装properties插件

安装完成后点击“Restart Now”重启eclipse。

 

《eclipse》eclipse中安装properties插件  

 

相关文章: