1.properties文件作为属性文件,一般不能输出中文
2.作为注释使用中文出现ascii时,解决方法:
(1)window -> preference -> workspace -> Other设置为UTF-8 或 GBK
(2)右击该properties文件(在左边目录框里右击) -> properties -> Resource -> Text file encoding设置成Other
1.properties文件作为属性文件,一般不能输出中文
2.作为注释使用中文出现ascii时,解决方法:
(1)window -> preference -> workspace -> Other设置为UTF-8 或 GBK
(2)右击该properties文件(在左边目录框里右击) -> properties -> Resource -> Text file encoding设置成Other