unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Christophe TROESTLER <Christophe.TROESTLER@umons.ac.be>
Cc: 36098@debbugs.gnu.org
Subject: bug#36098: 26.1; Incorrect epg--decode-percent-escape
Date: Wed, 05 Jun 2019 19:57:47 +0300	[thread overview]
Message-ID: <83lfygrmus.fsf@gnu.org> (raw)
In-Reply-To: <87v9xk3u6m.fsf@poincare.umons.ac.be> (message from Christophe TROESTLER on Wed, 5 Jun 2019 15:53:23 +0000)

> From: Christophe TROESTLER <Christophe.TROESTLER@umons.ac.be>
> CC: "36098@debbugs.gnu.org" <36098@debbugs.gnu.org>
> Disposition-Notification-To: Christophe TROESTLER
> 	<Christophe.TROESTLER@umons.ac.be>
> Date: Wed, 5 Jun 2019 15:53:23 +0000
> 
> > Isn't the problem inside epg--decode-percent-escape?  I think it
> > should be fixed there, it shouldn't produce a multibyte string.
> 
> That's what the patch does.

But you also moved decode-coding-string into that function; is that
correct?  Are we sure the original string was necessarily encoded in
UTF-8?

What I mean was only to let that function return a unibyte string, and
let the caller perform coding conversions.

Thanks.





  reply	other threads:[~2019-06-05 16:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-05 13:49 bug#36098: 26.1; Incorrect epg--decode-percent-escape Christophe TROESTLER
2019-06-05 14:49 ` Eli Zaretskii
2019-06-05 15:53   ` Christophe TROESTLER
2019-06-05 16:57     ` Eli Zaretskii [this message]
2019-06-05 17:05       ` Christophe TROESTLER
2019-06-05 17:29         ` Eli Zaretskii
2019-06-05 18:12           ` Christophe TROESTLER
2019-06-22  9:26             ` 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=83lfygrmus.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=36098@debbugs.gnu.org \
    --cc=Christophe.TROESTLER@umons.ac.be \
    /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).