用eclipse写Python时总是提示报错可能的原因——设定编码
设置编码如下:
1.windows->preferences->General->Editors->Text Editors->Spelling,Encoding改成Other:UTF-8,点击Apply。如下图
2.windows->preferences->General->Workspace,Text
file encoding改成Other:UTF-8,然后点击Apply and Close。如下图:
设置编码如下:
1.windows->preferences->General->Editors->Text Editors->Spelling,Encoding改成Other:UTF-8,点击Apply。如下图
2.windows->preferences->General->Workspace,Text
file encoding改成Other:UTF-8,然后点击Apply and Close。如下图: