Re: [PATCH 8/8] One Laptop Per Child power/battery driver

From: Pete Zaitcev
Date: Sun May 13 2007 - 02:11:22 EST


On Sun, 13 May 2007 13:39:48 +0800, David Woodhouse <dwmw2@xxxxxxxxxxxxx> wrote:

> Please don't use my work email address unless I _really_ need to be
> wearing my tinfoil hat when I read it.

I'll keep it in mind, sorry.

> But we'd be wrong -- just as you are. SPF is utterly moronic because it
> suddenly tries to change the rules and assumes that everyone has already
> changed, or it throws away valid email from unknown senders. In the case
> of sending patches, yes you _do_ assume that people aren't doing bizarre
> things to mangle them in transit, but that mangling is actually
> relatively rare. Not only that, but you only really care about a
> _single_ transit path, from you to whoever applies the patch. Which is
> easy enough to debug if it starts to do stupid things like converting to
> HTML or converting charsets.

I see your point, and it makes sense, but I'm not sure I agree completely.
Maybe I'm traumatized by myterious rejects which happened to me before.
Looking at the patch with vi showed absolutely no clue why it failed.

BTW, here's one odd thing Gmane is doing:

> + * Battery driver for One Laptop Per Child ($100 laptop) board.
> + *
> + * Copyright Ðâ 2006 David Woodhouse <dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@xxxxxxxxxxxxxxxx>

The above is how I saw the Anton Vorontsov's message. The e-mail would
be corrupted no matter the charset, so that is bad. But what about the
copyright character? It's not Gmane's doing. The reason that not working
is this:

> From: Anton Vorontsov <cbou-JGs/UdohzUI@xxxxxxxxxxxxxxxx>
> Content-Type: text/plain; charset=koi8-r
> Content-Transfer-Encoding: quoted-printable

Anton took the UTF-8 text and sent it with wrong encoding. Such mismatch is
the most common problem in my experience, not conversions to HTML.

-- Pete
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/