Jeremy2001

除了常见的application.properties文件中设置
#设置spring-boot 编码格式
banner.charset=UTF-8
server.tomcat.uri-encoding=UTF-8
spring.http.encoding.charset=UTF-8
spring.http.encoding.enabled=true
spring.http.encoding.force=true
spring.messages.encoding=UTF-8
以及

@RequestMapping(value="/*",produces="text/plain;charset=UTF-8")

还是解决不了得话需要在eclipse中安装propertiesEdit

地址: http://www.cnblogs.com/zdz8207/p/java-eclipse-properties.html

推荐离线安装。

分类:

技术点:

相关文章:

  • 2022-01-01
  • 2021-12-15
  • 2021-12-23
  • 2022-01-12
猜你喜欢
  • 2021-08-31
  • 2022-03-09
  • 2021-07-01
  • 2021-11-05
相关资源
相似解决方案