From: "Štěpán Němec" <stepnem@gmail.com>
To: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Cc: "Russ Allbery" <rra@debian.org>,
"Jonathan Nieder" <jrnieder@gmail.com>,
"Git Mailing List" <git@vger.kernel.org>,
"Stefan-W. Hahn" <stefan.hahn@s-hahn.de>,
"Lukas Sandström" <luksan@gmail.com>, "Jeff King" <peff@peff.net>,
"Christian Himpel" <chressie@googlemail.com>
Subject: Re: use base64 instead of quoted-printable in format-patch headers
Date: Mon, 20 Sep 2010 17:55:24 +0200 [thread overview]
Message-ID: <87fwx4s93n.fsf@gmail.com> (raw)
In-Reply-To: <AANLkTim-vfrxGbdfXeef81uP29NSSzutHbs-yhhQtiA8@mail.gmail.com> ("Ævar Arnfjörð Bjarmason"'s message of "Mon, 20 Sep 2010 13:46:40 +0000")
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
> The advantage of quoted-printable is the printable part. It's at least
> somewhat human readable, e.g.:
>
> =?UTF-8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?=
>
> I have some chance of spotting a typo or something in there if I look
> at the raw E-Mail (which I often do), but not with base64.
...apart from all the UTF-8 bytes and/or unless the name does not
contain any ASCII characters at all; anyway, I don't consider this
argument very compelling, but see below.
> Are we sure we're correctly encoding quoted-printable? E.g. maybe
> ?UTF-8? instead of ?utf-8? would work?
As per RFC 2047, both the charset (`utf-8') and encoding (`q') are
case-insensitive, so this shouldn't matter.
> It seems odd that a widely used client like Mutt would screw up such a
> widely used encoding.
Actually, upon some tests and repeated closer examination, I obviously
mis-diagnosed the problem once again (I really apologize for all the
noise). It appears that when I send an e-mail from Mutt using the file
produced by `git format-patch' as a template (i.e. `mutt -H some.patch'
-> edit -> send), Mutt for some reason re-encodes the already encoded
`From:' header, resulting in
From: =?utf-8?B?PT9VVEYtOD9xPz1DNT1BMHQ9QzQ9OUJwPUMzPUExbj0yME49QzQ9OUJt?=
=?utf-8?Q?ec=3F=3D?= <stepnem@gmail.com>
...which doesn't make much sense to me (or Mutt or Gnus).
So this probably really belongs in some Mutt help forum... I'm sorry.
(If someone knows how to work around the problem, please let me know).
Štěpán
next prev parent reply other threads:[~2010-09-20 15:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-19 14:24 git am should recognize >From Jonathan Nieder
2010-09-19 14:32 ` Jonathan Nieder
2010-09-19 18:01 ` Russ Allbery
2010-09-19 18:38 ` Make format-patch produce UTF-8 `From:' header (was Re: git am should recognize >From) Štěpán Němec
2010-09-19 19:19 ` Make format-patch produce UTF-8 `From:' header Russ Allbery
2010-09-20 12:20 ` use base64 instead of quoted-printable in format-patch headers (was Re: Make format-patch produce UTF-8 `From:' header) Štěpán Němec
2010-09-20 13:46 ` Ævar Arnfjörð Bjarmason
2010-09-20 15:29 ` Brandon Casey
2010-09-20 15:55 ` Štěpán Němec [this message]
2010-09-19 19:44 ` Make format-patch produce UTF-8 `From:' header (was Re: git am should recognize >From) Erik Faye-Lund
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fwx4s93n.fsf@gmail.com \
--to=stepnem@gmail.com \
--cc=avarab@gmail.com \
--cc=chressie@googlemail.com \
--cc=git@vger.kernel.org \
--cc=jrnieder@gmail.com \
--cc=luksan@gmail.com \
--cc=peff@peff.net \
--cc=rra@debian.org \
--cc=stefan.hahn@s-hahn.de \
/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.
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 NNTP newsgroup(s).