walters added a new comment to an issue you are following:
``
One thing I'm a bit confused on is why Pungi isn't doing UTF-8 for subprocesses by
default. Something like this?
```
diff --git a/pungi/wrappers/kojiwrapper.py b/pungi/wrappers/kojiwrapper.py
index 3cd9ac9..02855bb 100644
--- a/pungi/wrappers/kojiwrapper.py
+++ b/pungi/wrappers/kojiwrapper.py
@@ -147,7 +147,8 @@ class KojiWrapper(object):
task_id = None
with self.get_koji_cmd_env() as env:
retcode, output = run(command, can_fail=True, logfile=log_file,
- show_cmd=True, env=env, universal_newlines=True)
+ show_cmd=True, env=env, universal_newlines=True,
+ encoding='UTF-8')
if "--task-id" in command:
first_line = output.splitlines()[0]
if re.match(r'^\d+$', first_line):
```
``
To reply, visit the link below or just reply to this email
https://pagure.io/releng/issue/8330