在properties文件下编写中文,编码格式错误,显示为/uxxxx
解决: 更改资源文件的编码为UTF-8
window --> preferences --> general --> content Type --> Text --> java properties --> default encoding
改为UTF-8, Update即可。
eclipse的properties资源文件出现编码问题

最新推荐文章于 2021-03-31 23:15:32 发布

在properties文件下编写中文,编码格式错误,显示为/uxxxx
解决: 更改资源文件的编码为UTF-8
window --> preferences --> general --> content Type --> Text --> java properties --> default encoding
改为UTF-8, Update即可。