如果使用properties作为配置文件
那么会出现字符乱码,因为idea默认字符集是utf-8,properties默认是使用ascll码,所以需要进行转换
settings中搜索file encoidings,进行如下操作
springboot properties配置文件出现乱码
最新推荐文章于 2023-12-06 16:53:53 发布
如果使用properties作为配置文件
那么会出现字符乱码,因为idea默认字符集是utf-8,properties默认是使用ascll码,所以需要进行转换
settings中搜索file encoidings,进行如下操作