unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: awrhygty@outlook.com
To: Eli Zaretskii <eliz@gnu.org>
Cc: 65301@debbugs.gnu.org
Subject: bug#65301: 29.1; archive-mode can not handle archive named with foreign characters
Date: Tue, 15 Aug 2023 22:09:50 +0900	[thread overview]
Message-ID: <TYZPR01MB3920976DC5BE55EBCF6060C0C314A@TYZPR01MB3920.apcprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <83ttt0a799.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 15 Aug 2023 07:13:10 -0400")

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.





  reply	other threads:[~2023-08-15 13:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-15  4:17 bug#65301: 29.1; archive-mode can not handle archive named with foreign characters awrhygty
2023-08-15 11:13 ` Eli Zaretskii
2023-08-15 13:09   ` awrhygty [this message]
2023-08-15 14:16     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=TYZPR01MB3920976DC5BE55EBCF6060C0C314A@TYZPR01MB3920.apcprd01.prod.exchangelabs.com \
    --to=awrhygty@outlook.com \
    --cc=65301@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).