[PATCH] patchbomb: Use "unknown-8bit" as fallback character set

Matt Mackall mpm at selenic.com
Mon May 11 11:17:25 CDT 2009


On Mon, May 11, 2009 at 05:01:10PM +0200, Christian Ebert wrote:
> * Rocco Rutte on Monday, May 11, 2009 at 15:36:39 +0200
> > # HG changeset patch
> > # User Rocco Rutte <pdmef at gmx.net>
> > # Date 1242048950 -7200
> > # Node ID 1ee53c540267befc2607c2bb70ed5c994bd1d63a
> > # Parent  873429914ec5f477519761ea9165c7a2f5a4c0c0
> > patchbomb: Use "unknown-8bit" as fallback character set
> 
> Ah yes! I somehow hit a wall when trying to come up with a
> charset name for this. Thanks!

While this seems like the right thing to do, I'm a little worried that
not all clients will handle it correctly? There are two important
considerations here:

1) If I send a patch containing an \xe1 byte, I want it
to arrive on the client's disk as \xe1, regardless of the locales
involved on the sender and receiver's machines or their mail clients'
particular ideas about transcoding.

2) At the same time, I don't want the entire message to become
unreadable -in- the mail client.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial-devel mailing list