[Github-comments] [geany/geany] Format error. (#2874)

Independent-X notifications at xxxxx
Sat Aug 28 03:46:57 UTC 2021


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210827/927a8936/attachment.htm>


More information about the Github-comments mailing list