The UTF-8 environment is configured in idea, but how to achieve this effect without using -Dfile.encoding=UTF-8 after packaging and running? The version of springboot is 2.2
server
servlet:
encoding:
charset: UTF-8
force: true
tomcat:
uri-encoding: UTF-8
spring:
http:
encoding:
charset: UTF-8
force: true
enabled: true
None of these configurations achieve the desired effect
New contributor
sljs msnd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.