diff --git a/poethepoet/executor/poetry.py b/poethepoet/executor/poetry.py index 5fc63b47..2ee43a3a 100644 --- a/poethepoet/executor/poetry.py +++ b/poethepoet/executor/poetry.py @@ -64,6 +64,7 @@ def _get_poetry_virtualenv(self, force: bool = True): # currently active clean_env = dict(environ) clean_env.pop("VIRTUAL_ENV", None) + clean_env["PYTHONIOENCODING"] = "utf-8" exec_cache["poetry_virtualenv"] = ( Popen(