bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36098: 26.1; Incorrect epg--decode-percent-escape


From: Eli Zaretskii
Subject: bug#36098: 26.1; Incorrect epg--decode-percent-escape
Date: Wed, 05 Jun 2019 19:57:47 +0300

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]