Celery has problems when non-ASCII characters are included in log messages (i.e. from called system commands). Therefore environment variables that influence the locale setting are reset before running the celery worker.