[PATCH] encoding: prefer the detected console encoding by default (issue2926)

Matt Mackall mpm at selenic.com
Wed Jul 27 13:51:51 CDT 2011


On Thu, 2011-07-28 at 01:45 +0700, Andrei Polushin wrote:
> # HG changeset patch
> # User Andrei Polushin <polushin at gmail.com>
> # Date 1311791944 -25200
> # Branch stable
> # Node ID 4ab82a7f26c42debb9ab361f3d822dd4ebc96dd7
> # Parent  56848e2bb0c5a43b580dd2ca7ce1e781d4e75b2b
> encoding: prefer the detected console encoding by default (issue2926)
> 
> The default installation of Mercurial should use the Windows OEM encoding
> when running within the console window, which uses OEM encoding by default.

This won't work. Among the very long list of things this will break, it
will garble commit messages created by Notepad or other graphical tools
launched from the command line.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list