Properties文件编码方式

打开myeclipse的: Window ->Perferences ->General ->Editors ->Context Types 或者: Window ->Perferences ->General ->Context Types 展开右边的Text节点,选中Java Properties File。把下面的Default Character Set的值:ISO-8859-1改成UTF-8

菜单——>Preferences——>General——>ContentTypes——>Text——>Java Properties File,设置Default encoding,把下面的ISO-8859-1改为UTF-8或者GBK(推荐UTF-8),然后update。

你可能感兴趣的:(properties)