From: Eli Zaretskii <eliz@gnu.org>
To: iquiw <iku.iwasa@gmail.com>
Cc: 48375-done@debbugs.gnu.org
Subject: bug#48375: coding-system-for-read in net-utils-run-simple is not properly set
Date: Sat, 15 May 2021 12:39:25 +0300 [thread overview]
Message-ID: <835yzkxrn6.fsf@gnu.org> (raw)
In-Reply-To: <CAOAV122GvzXGFc4AsAB4xLYEkxf1fRT58ar7d=Ux4cVNH_pa3w@mail.gmail.com> (message from iquiw on Sat, 15 May 2021 18:32:05 +0900)
> From: iquiw <iku.iwasa@gmail.com>
> Date: Sat, 15 May 2021 18:32:05 +0900
> Cc: 48375@debbugs.gnu.org
>
> > > In the following code, `let' binding of `coding-system-for-read'
> > > covers only `erase-buffer' call.
> > >
> > > https://emba.gnu.org/emacs/emacs/-/blob/47070ed39eda524d334e5f82dc7f4a50b8d3252c/lisp/net/net-utils.el#L366-375
> > >
> > > So it does not affect to executed process and output characters are garbled.
> > > e.g. "M-x ifconfig" on Windows.
> >
> > Thanks. Does the patch below fix the problem?
>
> Yes, it works fine with the patch.
> Thank you!
Thanks for testing, I installed the fix on the master branch, and I'm
closing this bug report.
prev parent reply other threads:[~2021-05-15 9:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-12 9:39 bug#48375: coding-system-for-read in net-utils-run-simple is not properly set iquiw
2021-05-15 8:26 ` Eli Zaretskii
2021-05-15 9:32 ` iquiw
2021-05-15 9:39 ` 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=835yzkxrn6.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=48375-done@debbugs.gnu.org \
--cc=iku.iwasa@gmail.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).