eclipse的*.properties文件,默认的编码方式是iso-8859-1
Window -> preferences -> general -> Contents Types -> Text(展开)
-> Java Aroperties File(点击) -> *.properties(locked)(点击)
-> 把iso-8859-1改为 UTF-8 -> Update -> OK
然后就可以正常显示中文了
eclipse的*.properties文件,默认的编码方式是iso-8859-1
Window -> preferences -> general -> Contents Types -> Text(展开)
-> Java Aroperties File(点击) -> *.properties(locked)(点击)
-> 把iso-8859-1改为 UTF-8 -> Update -> OK
然后就可以正常显示中文了