Spring Boot设置默认返回UTF-8

在application.yml设置
server:
servlet:
encoding:
charset: UTF-8
force: true
enabled: true

原文地址:https://www.cnblogs.com/pengshaomin/p/13290141.html