标签:编码 nbsp tom 属性 tomcat har 解决 char message
1.再配置文件(application.properties)中添加编码字符集
#返回页面、数据中文乱码问题
spring.http.encoding.force=true
spring.http.encoding.charset=UTF-8
spring.http.encoding.enabled=true
server.tomcat.uri-encoding = UTF-8
#解决程序读配置文件乱码问题
spring.message.encoding = UTF-8
关于Spring boot中读取属性配置文件出现中文乱码的问题
标签:编码 nbsp tom 属性 tomcat har 解决 char message
原文地址:http://www.cnblogs.com/you000/p/7656122.html