unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Pascal Quesseveur <pquessev@gmail.com>
Cc: 56513@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	[thread overview]
Message-ID: <87y1wyv3ck.fsf@gnus.org> (raw)
In-Reply-To: <827d4ia12v.fsf@gmail.com> (Pascal Quesseveur's message of "Tue,  12 Jul 2022 15:54:16 +0200")

(Please keep the debbugs address in the CCs -- otherwise it won't reach
the bug tracker.)

Pascal Quesseveur <pquessev@gmail.com> writes:

>>"LI" == Lars Ingebrigtsen <larsi@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))






  parent reply	other threads:[~2022-07-12 13:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-12  6:33 bug#56513: 28.1; Vcard in a mime part with a utf-8 charset is displayed incorrectly Pascal Quesseveur
2022-07-12 13:02 ` Lars Ingebrigtsen
     [not found]   ` <827d4ia12v.fsf@gmail.com>
2022-07-12 13:59     ` Lars Ingebrigtsen [this message]
2022-07-12 16:17       ` Pascal Quesseveur
2022-07-12 19:07       ` Roland Winkler
2022-07-12 22:32         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y1wyv3ck.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=56513@debbugs.gnu.org \
    --cc=pquessev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).