Pycharm设置utf-8自动显示方法 如下所示:File->Setting->Editor->FileandCodeTemplates->pythonscript,右侧框框内输入: #-*-c 自动显示