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 or view it on GitHub:
https://github.com/geany/geany/issues/2874#issuecomment-907561411

Reply via email to