pycharm 设置文件编码的位置:Editor-->File Encodings

打开设置-->Editor-->File Encodings 

原文地址:https://www.cnblogs.com/xiaxiaoxu/p/9346801.html