From 703903091cf3c2a53aa25bb3eb48bc77c64ce005 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" <83735213+CosmicFusion@users.noreply.github.com> Date: Sun, 21 Jul 2024 15:05:25 +0300 Subject: [PATCH] Update gen-apt-config.py --- gen-apt-config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen-apt-config.py b/gen-apt-config.py index 88d9ebb..ef74d7f 100755 --- a/gen-apt-config.py +++ b/gen-apt-config.py @@ -26,7 +26,7 @@ for file in srcnames_files: srcname = line.strip() srcname_lines.append(srcname) result = subprocess.run([current_path + "/apt_experiments", '-n', srcname], stdout=subprocess.PIPE) - stdout = result.stdout.decode("unicode_escape").encode('ascii').decode('ascii') + stdout = result.stdout.decode("unicode_escape").encode('utf-8').decode('utf-8') pkgname_lines.append(stdout) file.close()