appdaemon
appdaemon copied to clipboard
character encoding problem using utf-8 characters in log messages
Using utf-8 characters in the python code:
self.log('éáűőúöüóí')
Causes incorrectly encoded characters in Supervisor/AppDaemon log.
I can't output log messages written in Japanese. Everything comes out as "������������"
Use ascii_encode = False
:
adapi.log(f'{message.author}: {message.content}', ascii_encode = False)
I don't know why that's not the default behavior.