My default is somehow set to both ISO-8859-1 and UTF-8 (both were selected, anyway). I did not intetionally select ISO-8859-1.Your locale is set to use ISO-8859-1 encoding. That will set the default for most text editors, while Python3 always assumes UTF-8, so you need to declare the coding in all your source files.I ran locale and got:
LANG=en_US
Was this intentional, perhaps for interoperability with very old systems that cannot be upgraded to support Unicode?
Otherwise I suggest you run sudo raspi-config and select Localisation, Locale, check en_US.UTF-8, and make that the default.
I tried copying and pasting again and got the same results.
Declaring the encoding seems to be working, so I will stick to that for now.
Thank you SurferTim; I installed vcgencmd and it is working like a charm.
Statistics: Posted by 83zr5 — Mon Oct 07, 2024 11:45 pm