From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: url-decode-url missing Date: Sun, 03 Nov 2019 23:17:01 +0100 Message-ID: <87r22ok3ky.fsf@igel.home> References: <87a79chdf6.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="175298"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 03 23:26:38 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iROKS-000jP3-G1 for ged-emacs-devel@m.gmane.org; Sun, 03 Nov 2019 23:26:36 +0100 Original-Received: from localhost ([::1]:56648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iROBN-0002Rl-VJ for ged-emacs-devel@m.gmane.org; Sun, 03 Nov 2019 17:17:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60684) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iROBH-0002RQ-MQ for emacs-devel@gnu.org; Sun, 03 Nov 2019 17:17:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iROBG-0007oH-8z for emacs-devel@gnu.org; Sun, 03 Nov 2019 17:17:07 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.10]:43225) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iROBG-0007ma-3E for emacs-devel@gnu.org; Sun, 03 Nov 2019 17:17:06 -0500 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 475qzM3dBXz1rGRh; Sun, 3 Nov 2019 23:17:03 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 475qzM3Qthz1qqkH; Sun, 3 Nov 2019 23:17:03 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id rP0qkRqGsAA0; Sun, 3 Nov 2019 23:17:02 +0100 (CET) X-Auth-Info: GeZqZDfJeN7eQTZalX6nt/XpTenoz8y0TeniZJI+GpDt0lC6hXxv4t13DjtRkX3z Original-Received: from igel.home (ppp-46-244-184-83.dynamic.mnet-online.de [46.244.184.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sun, 3 Nov 2019 23:17:02 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 1000) id C66BC2C0203; Sun, 3 Nov 2019 23:17:01 +0100 (CET) X-Yow: Now I'm telling MISS PIGGY about MONEY MARKET FUNDS! In-Reply-To: <87a79chdf6.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 03 Nov 2019 23:12:45 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.18.0.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241768 Archived-At: On Nov 03 2019, Juri Linkov wrote: > Using decode-coding-string doesn't help either: > > (let ((url "https://en.wiktionary.org/wiki/=CE=A9")) > (string-equal url (decode-coding-string > (url-unhex-string (url-encode-url url)) > 'utf-8))) > =3D> nil That works for me. Andreas. --=20 Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint =3D 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC= 1 "And now for something completely different."