[PATCH 1 of 2] tests: unify test-patchbomb
Matt Mackall
mpm at selenic.com
Mon Aug 16 22:58:46 UTC 2010
On Mon, 2010-08-16 at 22:20 +0200, Mads Kiilerich wrote:
> Martin Geisler wrote, On 08/16/2010 08:51 PM:
> > Even though you mailed the patch using the patchbomb extension, I could
> > not apply it directly. The problem was the hunk that deleted the old
> > patchbomb.out file, which had a "ö" encoded in both UTF-8 and Latin-1.
> >
> > I'm not sure, but I guess the mail ought to have been quoted-printable
> > encoded or something like that. Instead it just had:
> >
> > Content-Type: text/plain; charset="us-ascii"
> > Content-Transfer-Encoding: 8bit
>
> I don't think any mail headers could have made that work reliable and
> rfc-compliant.
Except application/binary. This is a good example of a text file that
has no consistent encoding. Or, equally, a good reminder that the
categories text and binary are ill-defined.
FWIW, my email client (a horrid GUI thing) handled it seamlessly - it
simply wrote out the bytes it received without trying to do any
external->internal->external transcoding.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list