From: Eli Zaretskii <eliz@gnu.org>
To: awrhygty@outlook.com
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 17:16:09 +0300 [thread overview]
Message-ID: <83edk49ys6.fsf@gnu.org> (raw)
In-Reply-To: <TYZPR01MB3920976DC5BE55EBCF6060C0C314A@TYZPR01MB3920.apcprd01.prod.exchangelabs.com> (awrhygty@outlook.com)
> From: awrhygty@outlook.com
> Cc: 65301@debbugs.gnu.org
> Date: Tue, 15 Aug 2023 22:09:50 +0900
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > 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.
You can't. It's a basic limitation of invoking programs from Emacs on
Windows, as explained above.
In reality, this is rarely a serious limitation, because most programs
users routinely invoke from Emacs on Windows don't support UTF-8
encoded arguments anyway. But the limitation is deep, so even if we
had more of these situations, we cannot really fix this until Windows
systems support UTF-8 better (in particular in file-related APIs).
prev parent reply other threads:[~2023-08-15 14:16 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
2023-08-15 14:16 ` Eli Zaretskii [this message]
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=83edk49ys6.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=65301@debbugs.gnu.org \
--cc=awrhygty@outlook.com \
/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).