我们打开.properties文件时,中文显示为utf8编码格式,可以在file->setting->editor->file encodings下把transparent native-to-ascll conversion勾选上就行了。如图所示:

idea中properties配置文件中文显示utf8编码

相关文章: