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: Christophe TROESTLER
Subject: bug#36098: 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


reply via email to

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