Subject: Re: bug#56513: 28.1; Vcard in a mime part with a utf-8 charset is displayed incorrectly

From: Lars Ingebrigtsen <[email-masked]>
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 <[email-masked]> writes:

>>"LI" == Lars Ingebrigtsen <[email-masked]> 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))