[PATCH 2 of 6] Determine default locale encoding and stdio encoding on start-up

Andrey grooz-work at gorodok.net
Sat Nov 18 20:38:47 UTC 2006


On 14 November 2006 (Tue) 13:36, Thomas Arendsen Hein wrote:
> > I'm not yet convinced locale support needs access to the config. If
> > the average internationalized app needed its own config tweaks,
> > everyone would just give up and use ASCII.
>
> LC_CTYPE=foo hg something  would work for most cases, too, except on
> non-POSIX systems. It is not essential, but having a way to override
> the possibly wrong assumptions made by python or hg isn't wrong.
>
> And yes, most people just give up and use ASCII.
>
> Thomas

So after a week of thought what is the decision? As I understand it, the main 
questions are the following:
- should we use different encoding for stdio (we really should if we care 
about Windows users);
- should we allow users to manually specify some encodings in hgrc (not sure 
about that, might be helpful if autodetection fails).

I promise to post the new patches as soon as the decision is made. :)

Andrey



More information about the Mercurial-devel mailing list