问题: 我的IDEA已经将文件的字符集设置成了UTF-8,但是中文在*.properties文件中还是会出现乱码,后来经同事指点修改了一项配置就ok了!话不多说,看下面的对比就清楚了。 设置方法: Settings -> Editor -> Code Style -> File Encodings -> Transparent native-to-ascii conversion 打勾 设置前: 设置后: