From: Oleg Broytman Date: Sat, 4 Nov 2023 12:53:17 +0000 (+0300) Subject: unzip.py: Fix encoding X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=dc43cb5356c6c8eb214f5861e2262e5124fb1f75;p=dotfiles.git unzip.py: Fix encoding --- diff --git a/bin/unzip.py b/bin/unzip.py index e88e526..dd0a79f 100755 --- a/bin/unzip.py +++ b/bin/unzip.py @@ -30,7 +30,7 @@ for zinfo in zf.infolist(): path = path.decode('cp866') recoded_path = path.encode(default_encoding) else: - recoded_path = path + recoded_path = path.encode('cp437').decode('cp866') print(recoded_path) if path.startswith('./'):