From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pascal Quesseveur Newsgroups: gmane.emacs.bugs Subject: bug#56513: 28.1; Vcard in a mime part with a utf-8 charset is displayed incorrectly Date: Tue, 12 Jul 2022 18:17:10 +0200 Organization: Les Enchantements de Miraldra Message-ID: <82r12q8fw9.fsf@gmail.com> References: <82o7xudelx.fsf@abaksystemes.fr> <874jzmzdpz.fsf@gnus.org> <827d4ia12v.fsf@gmail.com> <87y1wyv3ck.fsf@gnus.org> Reply-To: pquessev@gmail.com Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27016"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (windows-nt) Cc: 56513@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 12 18:18:28 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oBIah-0006mP-CX for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jul 2022 18:18:27 +0200 Original-Received: from localhost ([::1]:60164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBIaf-0002Ir-Nz for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jul 2022 12:18:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBIaP-0002Hw-AZ for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2022 12:18:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBIaH-0005Hf-UU for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2022 12:18:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBIaH-0007js-Np for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2022 12:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pascal Quesseveur Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jul 2022 16:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56513 X-GNU-PR-Package: emacs Original-Received: via spool by 56513-submit@debbugs.gnu.org id=B56513.165764263529658 (code B ref 56513); Tue, 12 Jul 2022 16:18:01 +0000 Original-Received: (at 56513) by debbugs.gnu.org; 12 Jul 2022 16:17:15 +0000 Original-Received: from localhost ([127.0.0.1]:43590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBIZW-0007iH-OW for submit@debbugs.gnu.org; Tue, 12 Jul 2022 12:17:14 -0400 Original-Received: from smtp2-g21.free.fr ([212.27.42.2]:25612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBIZV-0007i9-DT for 56513@debbugs.gnu.org; Tue, 12 Jul 2022 12:17:14 -0400 Original-Received: from dagon (unknown [88.127.239.170]) (Authenticated sender: pascal.quesseveur@free.fr) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 1E0A1200390; Tue, 12 Jul 2022 18:17:11 +0200 (CEST) In-Reply-To: <87y1wyv3ck.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 12 Jul 2022 15:59:39 +0200") X-Attribution: PQsr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:236824 Archived-At: >"LI" == Lars Ingebrigtsen writes: LI> (Please keep the debbugs address in the CCs -- otherwise it won't reach LI> the bug tracker.) Sorry, I missed it. LI> That's odd -- is vcard-pretty-print doing charset encoding? What we're LI> passing in should already be decoded (with that patch): The problem comes from quoted-printable fields in vcard. It works if you decode QP before: (data (mm-decode-string (quoted-printable-decode-string (mm-get-part handle)) charset)) But in that case vcard-pretty-print receives a vcard containing fields marked as quoted-printable, but they never are anymore. -- Pascal Quesseveur pquessev@gmail.com