Logging accented characters on the docker image results in UnicodeEncodeError
This is due to the fact that uwsgi overrides the stdout and stderr with its own implementation which do not use the backslashreplace value for the error
argument of the open()
function: https://github.com/unbit/uwsgi/issues/2509
Setting LANG
to C.UTF-8
is a workaound that should work while we're waiting for the issue to be solved upstream.<