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

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

[debbugs-tracker] bug#36098: closed (26.1; Incorrect epg--decode-percent


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#36098: closed (26.1; Incorrect epg--decode-percent-escape)
Date: Sat, 22 Jun 2019 09:27:01 +0000

Your message dated Sat, 22 Jun 2019 12:26:12 +0300
with message-id <address@hidden>
and subject line Re: bug#36098: 26.1; Incorrect epg--decode-percent-escape
has caused the debbugs.gnu.org bug report #36098,
regarding 26.1; Incorrect epg--decode-percent-escape
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
36098: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36098
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 26.1; Incorrect epg--decode-percent-escape Date: Wed, 5 Jun 2019 13:49:05 +0000
The code

(decode-coding-string
 (epg--decode-percent-escape "D%C3%A9partement")
 'utf-8)

should return "Département" but does not because the decoding of the percent 
string is done with multibyte.

The attached patch fixes this.

Best,
C.

Attachment: 0001-epg-Use-unibyte-string-to-decode-percent-escape.patch
Description: 0001-epg-Use-unibyte-string-to-decode-percent-escape.patch

Attachment: ATT00001.txt
Description: ATT00001.txt


--- End Message ---
--- Begin Message --- Subject: Re: bug#36098: 26.1; Incorrect epg--decode-percent-escape Date: Sat, 22 Jun 2019 12:26:12 +0300
> From: Christophe TROESTLER <address@hidden>
> CC: "address@hidden" <address@hidden>
> Date: Wed, 5 Jun 2019 18:12:06 +0000
> 
> On  5 June 2019 at 19:29 CEST, Eli Zaretskii <address@hidden> wrote:
> >
> >> From: Christophe TROESTLER <address@hidden>
> >> CC: "address@hidden" <address@hidden>
> >> Date: Wed, 5 Jun 2019 17:05:45 +0000
> >> 
> >> > What I mean was only to let that function return a unibyte string, and
> >> > let the caller perform coding conversions.
> >> 
> >> I can do that.  To avoid repetitions, what about introducing 
> >> epg--decode-percent-escape-as-utf-8?
> >
> > I think that would be fine, yes.
> 
> Updated patch doing that.

Thanks, pushed.


--- End Message ---

reply via email to

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