Subject: bug#65301: 29.1; archive-mode can not handle archive named with foreign characters

From: Eli Zaretskii <[email-masked]>
Date: Tue, 15 Aug 2023 14:13:06 +0300

tags 65301 wontfix
close 65301
thanks

> From: [email-masked]
> Date: Tue, 15 Aug 2023 13:17:54 +0900
> 
> 
> If archive file name contains characters not encodable with local
> language encoding(cp932 for Japanese Windows OS),
> archive-mode fails to extract subfiles.
> (even if subfile name consists of only ASCII characters)
> 
> For example, open c:/tmp/test丄.zip and type RET on a entry,
> emacs reports:
>   unzip:  cannot find either c:/tmp/test .zip or c:/tmp/test .zip.zip.

This is because we run the unzip.exe program to extract the files, and
running subprocesses from Emacs on MS-Windows is limited to
command-line arguments which can be encoded in the system codepage.

Basically, this is a duplicate of bug#65300.