GNU bug report logs - #56513
28.1; Vcard in a mime part with a utf-8 charset is displayed incorrectly

Previous Next

Package: emacs;

Reported by: Pascal Quesseveur <quesseveur <at> abaksystemes.fr>

Date: Tue, 12 Jul 2022 06:35:02 UTC

Severity: normal

Found in version 28.1

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Pascal Quesseveur <pquessev <at> gmail.com>
Cc: 56513 <at> debbugs.gnu.org
Subject: bug#56513: 28.1; Vcard in a mime part with a utf-8 charset is displayed incorrectly
Date: Tue, 12 Jul 2022 15:59:39 +0200
(Please keep the debbugs address in the CCs -- otherwise it won't reach
the bug tracker.)

Pascal Quesseveur <pquessev <at> gmail.com> writes:

>>"LI" == Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>
>   LI> Can you check whether this fixes the problem, too?
>
> Unfortunately not. To get text correctly encoded I have to call:
>
> (mm-decode-string (string-make-unibyte
>    (vcard-pretty-print (mm-get-part handle))) charset)
>
> FWIW buffer-file-coding-system in article buffer is iso-latin-1-dos.

That's odd -- is vcard-pretty-print doing charset encoding?  What we're
passing in should already be decoded (with that patch):

+         (data (mm-decode-string (mm-get-part handle) charset))





This bug report was last modified 3 years and 8 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.