mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-24 04:32:46 +00:00
use LC_ALL=C.UTF-8 rather than plain C
addressing: Python runtime initialized with LC_CTYPE=C (a locale with default ASCII encoding), which may cause Unicode compatibility problems. Using C.UTF-8, C.utf8, or UTF-8 (if available) as alternative Unicode-compatible locales is recommended.
This commit is contained in:
parent
6566ec5646
commit
89ebaa23ce
1 changed files with 1 additions and 1 deletions
|
@ -442,7 +442,7 @@ def run_command_print(command):
|
|||
"""
|
||||
output = []
|
||||
env = os.environ.copy()
|
||||
env['LC_ALL'] = 'C'
|
||||
env['LC_ALL'] = 'C.UTF-8'
|
||||
p = subprocess.Popen(shlex.split(command),
|
||||
stdout=subprocess.PIPE, stderr=subprocess.STDOUT, env=env,
|
||||
universal_newlines=True)
|
||||
|
|
Loading…
Add table
Reference in a new issue