springboot properties配置文件出现乱码

如果使用properties作为配置文件
那么会出现字符乱码,因为idea默认字符集是utf-8,properties默认是使用ascll码,所以需要进行转换
settings中搜索file encoidings,进行如下操作
在这里插入图片描述