I use SublimeText for writing Python. Every so often it will insert characters that I didn't type. Today's example:
Non-ASCII character '\xc2' in file /path/to/my/project/forms.py on line 256, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details (forms.py, line 256)
This doesn't happen to my colleagues and happens to me from time to time. I'm not sure what to do about it. I can delete the line and re-type it and it's fine. I have tried updating versions etc etc.
I don't want to just set the file encoding because I'm not actually typing non-ascii characters and that would be ignoring the actual problem.
Has anyone else found this? Solutions?
That happens to me too! If you are in MacOS you´re typing ⌥ + space, if you are windows/Linux I guess it's alt + space
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With