Add in application.properties
spring.http.encoding.force=true spring.http.encoding.charset=UTF-8 spring.http.encoding.enabled=true server.tomcat.uri-encoding=UTF-8
Solution
File Encodings
The specific steps are Transparent native-to-ascii conversion
as true
follows: Click
File -> Settings -> Editor -> File Encodings
Set the Properties Files (*.properties)
lower one Default encoding for properties files
to be UTF-8
, Transparent native-to-ascii conversion
and check the previous one.