From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#6252: Emacs does not implement URL (aka "percent") decoding correctly. Date: Fri, 23 Sep 2011 10:34:00 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1316767131 29466 80.91.229.12 (23 Sep 2011 08:38:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Sep 2011 08:38:51 +0000 (UTC) Cc: 6252@debbugs.gnu.org To: =?UTF-8?Q?Jos=C3=A9?= A. Romero L. Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 23 10:38:46 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R71HS-0005NI-BK for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Sep 2011 10:38:46 +0200 Original-Received: from localhost ([::1]:37128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R71HR-0000Hk-UH for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Sep 2011 04:38:45 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R71HN-0000GA-Tc for bug-gnu-emacs@gnu.org; Fri, 23 Sep 2011 04:38:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R71HM-0004tQ-PR for bug-gnu-emacs@gnu.org; Fri, 23 Sep 2011 04:38:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R71HM-0004tL-Np for bug-gnu-emacs@gnu.org; Fri, 23 Sep 2011 04:38:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R71Hl-0004dO-8k for bug-gnu-emacs@gnu.org; Fri, 23 Sep 2011 04:39:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Sep 2011 08:39:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6252 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6252-submit@debbugs.gnu.org id=B6252.131676713917802 (code B ref 6252); Fri, 23 Sep 2011 08:39:04 +0000 Original-Received: (at 6252) by debbugs.gnu.org; 23 Sep 2011 08:38:59 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R71He-0004d5-Lb for submit@debbugs.gnu.org; Fri, 23 Sep 2011 04:38:59 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R71HZ-0004cl-QB for 6252@debbugs.gnu.org; Fri, 23 Sep 2011 04:38:54 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1R71H1-0002uM-5r; Fri, 23 Sep 2011 10:38:19 +0200 In-Reply-To: ("=?UTF-8?Q?Jos=C3=A9?= A. Romero L."'s message of "Thu, 22 Sep 2011 13:04:13 +0200") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEUAAAAxLzQBAQFycXYT EhUGBQcCAQO+vsIDAgM9ANWoAAACYklEQVQ4jVWSzW8aMRDFR1YXcexmSblao2JxJUvCNQtG6XEB O+WYrmDlK6LR9pjQeuU/u2PvR8gcFsk/3nszY4PMkrQaSbne18dx1VWagsri9CSl1qYoN9UHAS3j 5LTW2tWF0Ivu/JyCVVky3++1XSNuxudFrzBKJqO9s0ojvpN3mrZAaLmabYXTWpj3Kkm7ArRqNbug 1bq0myruCbCjzuaI1mqjCcRxrzB61QC9GY3jvgCm9ucDCkshu9eZzHrAhH1aonDO6s1ZSaqsUxxm NIIxJUXMZV8Au+rr5hsar/A76wFbVHdReiGBXlX32pf0jvC3qk75+KE0Wo9Pr7otAuc35uTubJzT 2X0PtII7AHEYVbfOuIumLdu9CwRegBqLF38KWlXs2vLA13A0PnHO3+d1gaIsnW/Rn7MoW505sPgZ 0QNCrlFwKas9ZzQntui4D4Cp74v1ltUNwAJLEwCHg9rxES5bgEKYxgomZa1//egBuZkWvF3UJL6h I8Y8oJQOvCh2vIA/5k1+C/JLFLpADkiw6ECUR1EOjPogAWHswCCPcOkV5ANNSAMgH3IdrMInABZA zfDLYwCNpFfYwTG6od8QQPEfgG0HksRNt0HBAziyHDbIWT95p2DwCGpZBJvryWnkHKY3zdz+Quq6 tQLMWbTkbQI9P9M5wRsbKoCPq2qtBgVnTPn/cxR08bXpw6m2fkIfLlB0IFzkhHbVuk3dtSL6F1qZ Fj79SgFDQN5sEkt9DaZZnNxyuirsH0Prl6k4nYV+3Sfgu5083dGrej5+AogXNIfffifOwicvb5MU paBX/R+90+FgOZO+JgAAAABJRU5ErkJggg== X-Now-Playing: Charles Mingus & Eric Dolphy's _Complete Live in Amsterdam (2)_: "Meditations on Integration" X-MailScanner-ID: 1R71H1-0002uM-5r MailScanner-NULL-Check: 1317371899.30063@R34M5nVTBF98mF4mWygSKQ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 23 Sep 2011 04:39:05 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:51692 Archived-At: Jos=E9 A. Romero L. writes: >>> =A0 =A0 (url-unhex-string (url-hexify-string "=E4")) >>> =A0 =A0 =3D> "=C3=A4" [...] > Well, if you write a script that transforms URLs to/from strings > (especially round-trip) you will probably encouter problems > retrieving stuff from the web if you're not aware of this issue. So this bug report is purely about the return value of `url-unhex-string'? It sounded at the beginning that url.el had problems fetching something. If this is just about `url-unhex-string', the obvious solution would be to add a CODING-SYSTEM parameter to that function. And please don't keep removing the debbugs address from the Cc list. Your messages aren't going to the bug tracker if you do that. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/