This should force the python executable to use the desired encoding. The command is moved to a wrapper script to be able to set the environment at make-run-time.