- 增加一下参数
1 2 3
spring.http.encoding.charset=UTF-8 spring.http.encoding.enabled=true spring.http.encoding.force=true
- Tomcat,在
server.xml中的Connector标签增加useBodyEncodingForURI="true"

1
2
3
spring.http.encoding.charset=UTF-8
spring.http.encoding.enabled=true
spring.http.encoding.force=true
server.xml中的Connector标签增加useBodyEncodingForURI="true"
A new version of content is available.