Brief description: Java programs are generally set to UTF-8 encoding format in projects, but the project application.properties file defaults to GBK, and the default encoding format needs to be modified manually.
step:
Under file->setting->editor->file encodings, just check transparent native-to-ascll conversion, as shown in the figure (record it so you don’t forget it):