读取配置文件出现乱码,网上查询说要配置文件(properties),添加UTF-8的属性,然而并没有效果。 最简单的方法,设置idea即可: File – >seetings – >Editor --> File Encodings