1. 设置File-encodings

File->settings->Editor->File-encodings 打开File-encodings设置界面修改一下配置为utf-8

1671760292746.jpg