From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: master d57bb0c: Treat passed strings as raw-text when percent-escaping in epg Date: Thu, 12 Dec 2019 16:33:50 +0100 Message-ID: References: <20191212073737.19923.49084@vcs0.savannah.gnu.org> <20191212073738.9C7A3200E3@vcs0.savannah.gnu.org> <83zhfx8sxd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="162389"; mail-complaints-to="usenet@blaine.gmane.org" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 12 16:34:02 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 1ifQTa-000g4k-67 for ged-emacs-devel@m.gmane.org; Thu, 12 Dec 2019 16:34:02 +0100 Original-Received: from localhost ([::1]:33154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifQTZ-0003bh-0p for ged-emacs-devel@m.gmane.org; Thu, 12 Dec 2019 10:34:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33762) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifQTT-0003bX-9D for emacs-devel@gnu.org; Thu, 12 Dec 2019 10:33:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ifQTS-0008Bf-9d for emacs-devel@gnu.org; Thu, 12 Dec 2019 10:33:55 -0500 Original-Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:38880) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ifQTS-00089O-32; Thu, 12 Dec 2019 10:33:54 -0500 Original-Received: by mail-wr1-x42b.google.com with SMTP id y17so3207873wrh.5; Thu, 12 Dec 2019 07:33:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version; bh=pwymXUTEhY/wKdF2ImqDrWRaBfWDGjshoymQ3iGlYjM=; b=qIWxPMGpvD39C/gQq1RXZxIHQvdxBc6LplDpbn/osKUvxW2geDVxmWN+P5ZKK1mYxQ nLQfh4nme/lbOahDsOyFsNecJaC9BltUP9bwpCJRLJP4xJtQDS8inqJA3a4SboOiQ4AM 8+of8yWJuNZitUly+DnfYKDaMILOzoA2Tpzx1PpD2D0B8wMbjvpVuhu+IzqvwE9Eqeo8 E2UVpH75CHMj1PaaYiw1jpTiixAyp5r2qH7+CATeanzJQQaotozWXj15AJWNM5kiFO9V JgThv/EJR6Ob3KwrHzcP1MxGQmq9gR705FiyHB5xLR5bsX0lH1fKvl4jz7lA/1gWUvLa gvSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=pwymXUTEhY/wKdF2ImqDrWRaBfWDGjshoymQ3iGlYjM=; b=NQ82yb02F4thRX8EKjaaMIvlXHFuKvZjbsR6Y00t0wxLxibx8BMlo0TfqoV7tHFvkX BTbq3Z0jcwVAGgIgprkpGnz2GCoxW8WM3/ot7WLg4yXVHyHjGDe1mP5uW+3a4G8RxOTT CEzhIat+njQzifv+/xGHicB0aMX7hHkSoqn8Es0/pUVTqtrgNAoysLzrahT5pMZUwZSk MtpGTxQEffwmLZcf15Ok7uXPTuINzt0YyxA9E4Gwtkv9Tu1UAWb1GCKHO2CmdlymaDdf X7boPP6wMhy7YTNYypP45fTG4InwzDPldaTULWqiZCFeE5rYtCyOQJ+GOMa1H0ZMFjjI xZ1g== X-Gm-Message-State: APjAAAX9PLNZ80t8IzE3gWbY1qglMYTPxpv2XjnJQb6gAhj8Zpb0RzdV 68T9SZZH25GtiJ+KT98S1XgJr9gVbCwf0A== X-Google-Smtp-Source: APXvYqyTCnGgoS/Imw7iVrU4EBV4nb6JlKd/WvzWiNkPu/Mo3FNd31mf0Ya/PGJPbNhq6Q3+e95wuw== X-Received: by 2002:a5d:6886:: with SMTP id h6mr6968342wru.154.1576164832153; Thu, 12 Dec 2019 07:33:52 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id o185sm6310504wmb.40.2019.12.12.07.33.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2019 07:33:51 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: <83zhfx8sxd.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 12 Dec 2019 17:28:14 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42b 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:243322 Archived-At: >>>>> On Thu, 12 Dec 2019 17:28:14 +0200, Eli Zaretskii said: >> From: Robert Pluim >> Date: Thu, 12 Dec 2019 16:19:46 +0100 >> Cc: emacs-devel@gnu.org >> >> In order to convert those percent-escaped characters correctly, the >> string has to be treated as a unibyte array of bytes, then >> re-converted to multibyte by encoding with utf-8 afterwards. Eli> ^^^^^^^^ Eli> You mean "decoding", I believe (that's what the code does). Yes. All this stuff is very easy to get lost in. Robert