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格式编码”。保存,然后就可以了。

相关文章:

  • 2021-06-05
  • 2021-12-15
  • 2022-01-28
  • 2021-07-24
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-04
  • 2021-05-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案