Geany编译python时运行弹出SyntaxError: (unicode error) 'utf-8' codec can't提升
1:在Geany中编译python3时,如果有添加中文注释可能会出现SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xc1 in position 0: invalid start byte,如下图:2:python中默认的编码格式是 utf-8,因此需要将编辑的文件格式进行转换为utf-8,只需对Geany软件进行如下设...
转载
2018-05-05 11:09:58 ·
7406 阅读 ·
4 评论