Closed zewelor closed 5 years ago
Hey, sorry I didn't see this issue sooner.
That's interesting, I have not seem that error before. Ill add it to an issues section. Thanks for contributing this fix!
This fix doesnt work for me. I still get the error:
gawebserver | self._lib.assistant_send_text_query(self._inst, query.encode('ASCII'))
gawebserver | UnicodeEncodeError: 'ascii' codec can't encode character '\xdc' in position 10: ordinal not in range(128)
I even tried adding the German Local to my Docker-Compose
environment:
- PYTHONIOENCODING=utf-8
- LANG=de_DE.UTF-8
Hi
I'm getting encoding error:
From what I've found, it because of wrong locale env setting, and it can be fixed using
PYTHONIOENCODING=utf-8
. I've put it in docker run command and seems to work fine.