development tool
IDEA2020.3
The abnormal conditions are as follows
The default encoding for known items is UTF-8, and yml The default encoding method of is GBK.
stay yml Middle configuration com.hyh.name
The value is God, jojobasha
.
adopt @Value("${com.hyh.name}")
Read , The problem of Chinese garbled code .
Problem solving
File -> Settings -> Editor -> File Encodings