[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65301: 29.1; archive-mode can not handle archive named with foreign
From: |
awrhygty |
Subject: |
bug#65301: 29.1; archive-mode can not handle archive named with foreign characters |
Date: |
Tue, 15 Aug 2023 22:09:50 +0900 |
Eli Zaretskii <eliz@gnu.org> writes:
> tags 65301 wontfix
> close 65301
> thanks
>
>> From: awrhygty@outlook.com
>> 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.
I have installed not only unzip.exe but also 7z.exe.
7z.exe works fine on cmd terminal.
But I can not find how to call 7z.exe on emacs with parameters encoded
with utf-8.