unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: iquiw <iku.iwasa@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 48375@debbugs.gnu.org
Subject: bug#48375: coding-system-for-read in net-utils-run-simple is not properly set
Date: Sat, 15 May 2021 18:32:05 +0900	[thread overview]
Message-ID: <CAOAV122GvzXGFc4AsAB4xLYEkxf1fRT58ar7d=Ux4cVNH_pa3w@mail.gmail.com> (raw)
In-Reply-To: <83bl9cxv0n.fsf@gnu.org>

On Sat, May 15, 2021 at 5:26 PM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > From: iquiw <iku.iwasa@gmail.com>
> > Date: Wed, 12 May 2021 18:39:25 +0900
> >
> > 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!





  reply	other threads:[~2021-05-15  9:32 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 [this message]
2021-05-15  9:39     ` 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='CAOAV122GvzXGFc4AsAB4xLYEkxf1fRT58ar7d=Ux4cVNH_pa3w@mail.gmail.com' \
    --to=iku.iwasa@gmail.com \
    --cc=48375@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).