idea设置编码格式utf-8

settings  >> File Encodings >>如下

原文地址:https://www.cnblogs.com/h-c-g/p/9967650.html