Follow these steps can reproduce the error:
1.Create a new main.py.
2.Delete all the code in it.
3.Write this:

#!/usr/bin/env python

-- coding: utf-8 --

print("あ")
4.Save it.
5.Try running it.
Here is the result:
File "test.py", line 3
print("��")
^
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xa4 in position 0: invalid start byte.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.