SyntaxError: Non-ASCII character '\xe2' in file 编码错误

Editing .py file in the Notepad:

tmp9D84

But when run in the PowerShell, I found the follwing error:

tmp7030

It seems I coded with the UTF-8 but ascii is required. So what I did it to go to

“格式”选择 “以ANSI格式编码”。保存,然后就可以了。

posted on 2013-12-13 23:56  小风吹雪  阅读(572)  评论(0编辑  收藏  举报