diff --git a/src/pyscaffoldext/custom_extension/templates/helpers.template b/src/pyscaffoldext/custom_extension/templates/helpers.template index 4667328..a9c705b 100644 --- a/src/pyscaffoldext/custom_extension/templates/helpers.template +++ b/src/pyscaffoldext/custom_extension/templates/helpers.template @@ -65,7 +65,7 @@ def run(*args, **kwargs): if args[0] in ("python", "putup", "pip", "tox", "pytest", "pre-commit"): raise SystemError("Please specify an executable with explicit path") - opts = dict(stderr=STDOUT, universal_newlines=True) + opts = dict(stderr=STDOUT, universal_newlines=True, encoding="utf-8") opts.update(kwargs) try: