mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 11:00:10 +01:00
Merge branch 'popen-nonutf8' into 'master'
common: don't assume build script output is utf-8 See merge request !224
This commit is contained in:
commit
7211381e27
@ -1798,7 +1798,7 @@ def FDroidPopen(commands, cwd=None, output=True, stderr_to_stdout=True):
|
||||
:returns: A PopenResult.
|
||||
"""
|
||||
result = FDroidPopenBytes(commands, cwd, output, stderr_to_stdout)
|
||||
result.output = result.output.decode('utf-8')
|
||||
result.output = result.output.decode('utf-8', 'ignore')
|
||||
return result
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user