X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bin%2Funzip.py;fp=bin%2Funzip.py;h=dd0a79f5931503e1bf358006ec2719a9eac61075;hb=dc43cb5356c6c8eb214f5861e2262e5124fb1f75;hp=e88e5265a5504d69949ec375d348845424f33e1d;hpb=9d05130f9505014ebf2aeffadec719c8aa16c3d4;p=dotfiles.git 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('./'):