[PATCH 2 of 8] determine default locale encoding and stdio encoding on start-up

Matt Mackall mpm at selenic.com
Mon Nov 20 18:23:11 UTC 2006


On Tue, Nov 21, 2006 at 12:10:44AM +0600, Andrey wrote:
> On 20 November 2006 (Mon) 23:36, Matt Mackall wrote:
> 
> > Thus, we need to attach any charset override mechanism to the terminal
> > session and not the config. Which means it should go in the
> > environment along with the rest of the locale settings.
> 
> But we already have LANG, LC_MESSAGES and even LC_ALL. :) Do we really need to 
> introduce yet another variable for that?

I don't know.

But iff we need to override the detected locale settings for hg, we'll
need the flexibility to override it per-terminal.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list