I was facing a string decoding error with this library when running it on a Raspberry. Its default encoding is not UTF-8, therefore some functions crashed with an unhandled exception. I have the code fixed here, how can I push it into the repository?
Edit: anyway it's a one-line fix, you can do it yourself. In file _system.py, import locale and in line 45, instead of 'utf-8' put locale.getpreferredencoding(). That's all.
I was facing a string decoding error with this library when running it on a Raspberry. Its default encoding is not UTF-8, therefore some functions crashed with an unhandled exception. I have the code fixed here, how can I push it into the repository?
Edit: anyway it's a one-line fix, you can do it yourself. In file _system.py,
import localeand in line 45, instead of'utf-8'putlocale.getpreferredencoding(). That's all.