From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: master d57bb0c: Treat passed strings as raw-text when percent-escaping in epg Date: Mon, 16 Dec 2019 11:21:18 -0500 Message-ID: References: <20191212073737.19923.49084@vcs0.savannah.gnu.org> <20191212073738.9C7A3200E3@vcs0.savannah.gnu.org> 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="79151"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 16 17:21:40 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 1igt7r-000KRp-2r for ged-emacs-devel@m.gmane.org; Mon, 16 Dec 2019 17:21:39 +0100 Original-Received: from localhost ([::1]:56468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igt7p-0007CJ-Mm for ged-emacs-devel@m.gmane.org; Mon, 16 Dec 2019 11:21:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52811) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igt7g-00079U-9C for emacs-devel@gnu.org; Mon, 16 Dec 2019 11:21:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igt7e-0004iZ-OH for emacs-devel@gnu.org; Mon, 16 Dec 2019 11:21:27 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:44318) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1igt7e-0004hY-HP for emacs-devel@gnu.org; Mon, 16 Dec 2019 11:21:26 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id AC54D100506; Mon, 16 Dec 2019 11:21:24 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id B5D34100473; Mon, 16 Dec 2019 11:21:22 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1576513282; bh=x8Tm5SYagbDpxmv2tsuBHZUAtXR+C5jFTxtyHqNZ//w=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=cRl3HLvhWB9VBgibWMmC5raEn4gQzZeQ596Wav1YViuGD5Ov4rZ2/dk52xzjiFQ0z WUVdu3y+loJbluQ3NgRbocK05OSj6n7Lzht3aYDyh7giOn6/5zfeuVCH2JoUt46T+d sEXwmAzQTyK/ThjK/zqTUpayivIguLmzn0Ef9P71APz/uB99y83feeiHBECRJdpRi7 n6fe3eMpV5kL5wPkUaauasDXVZaEJVhsSuVV60/czPMYjvuzjvldZMl+ddkrPVV89N ub77R1DWeH/UWDRdA8KCxM6uh/hI1ymJnSgVlDHAbR+/BIE5cQSjkPI7BpROKR2QNP HBbCP/xshlatA== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 5B7A7120ACD; Mon, 16 Dec 2019 11:21:22 -0500 (EST) In-Reply-To: (Robert Pluim's message of "Thu, 12 Dec 2019 16:19:46 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 132.204.25.50 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:243419 Archived-At: > No. The string that is passed to epg--decode-percent-escape can > contain non-ASCII characters encoded as UTF-8, I have the impression that you're confused: a multibyte string that contains say a =CE=BB or a =C3=A9 character does not contain "non-ASCII cha= racters encoded as UTF-8", unless you're referring to the way the multibyte string is internally represented at a low level (but this internal representation is largely irrelevant to Elisp). Stefan