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

Editing .py file in the Notepad:

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

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

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

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

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