原因: IDEA使用的是utf-8编码 而properties使用ASCII码 编码不同 导致出现乱码现象 解决方法: 1、点击IDEA左上角的File 点击Settings 2、进入File Encoding的设置 3、勾选Transparent native-to-ascii conversion 相关文章: 2021-12-26 2021-08-29 2022-01-17 2021-11-17 2021-08-01 2021-08-25 2022-01-05 2021-03-30