Python, Docker - 'ascii' codec can't encode character
Most containers start with LANG=C
set. That can be really annoying if you're dealing with UTF-8.
Just to make sure your container starts with the right locale add -e LANG=C.UTF-8
when calling docker.