设置编码

File -> Setting -> Editor -> File encodings --> 设置编码

Idea编码UTF-8中.properties 配置文件中文乱码_中文乱码

配置文件中文乱码

File -> Setting -> Editor -> File encodings -> 勾选" Transparent native-to-ascll conversion"

Idea编码UTF-8中.properties 配置文件中文乱码_中文乱码_02

如果这篇文章对你有用,可以关注本人微信公众号获取更多ヽ(^ω^)ノ ~

Idea编码UTF-8中.properties 配置文件中文乱码_微信公众号_03