git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: Brian Swetland <swetland@google.com>
Cc: "Björn Steinbrink" <B.Steinbrink@gmx.de>,
	"Johannes Schindelin" <Johannes.Schindelin@gmx.de>,
	"Ludovic Courtès" <ludo@chbouib.org>,
	git@vger.kernel.org
Subject: Re: `git-send-email' doesn't specify `Content-Type'
Date: Sun, 11 Nov 2007 03:51:20 -0500	[thread overview]
Message-ID: <20071111085120.GD30299@sigill.intra.peff.net> (raw)
In-Reply-To: <20071111084515.GB18021@bulgaria>

On Sun, Nov 11, 2007 at 12:45:15AM -0800, Brian Swetland wrote:

> > > What happens if the metadata has utf8 content and the patch itself has 
> > > some *other* non-ascii encoding (some iso-latin variant perhaps).
[...]
> > The body has to be in one encoding, so at the time that you know both
> > encodings, you have to pick one and convert the data from the discarded
> > encoding into the used encoding.
> 
> That seems potentially bad in that the transport (mailed patches) could
> be altering the contents of the patch.  Or is this process reversed when 
> the patch is finally applied?

My answer was for "how do you stick two things with different encoding
in the same mail" (which applies to the name + commit message
situation). However, we don't actually _have_ an encoding for the patch
data. We just assume that it matches the metadata.

-Peff

  reply	other threads:[~2007-11-11  8:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-10  0:14 `git-send-email' doesn't specify `Content-Type' Ludovic Courtès
2007-11-10  0:52 ` Johannes Schindelin
2007-11-10 10:14   ` Brian Swetland
2007-11-10 12:25     ` Björn Steinbrink
2007-11-10 12:35       ` Brian Swetland
2007-11-10 12:51         ` Björn Steinbrink
2007-11-11  8:32           ` Jeff King
2007-11-11  8:35             ` Jeff King
2007-11-11  8:39             ` Brian Swetland
2007-11-11  8:41               ` Jeff King
2007-11-11  8:45                 ` Brian Swetland
2007-11-11  8:51                   ` Jeff King [this message]
2007-11-11  8:56             ` Jeff King

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=20071111085120.GD30299@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=B.Steinbrink@gmx.de \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=ludo@chbouib.org \
    --cc=swetland@google.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.
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).