[PATCH] windows: switch the console encoding into an encoding actually used (issue2926)
Matt Mackall
mpm at selenic.com
Fri Jul 29 15:20:12 UTC 2011
On Fri, 2011-07-29 at 17:00 +0200, Adrian Buehlmann wrote:
> On 2011-07-29 02:20, Andrei Polushin wrote:
> > 29.07.2011 7:00, Adrian Buehlmann wrote:
> >> On 2011-07-29 01:26, Andrei Polushin wrote:
> >>> Probably, I need help to do it in a non-natural way. Is it worth the effort?
> >>> Looks like Mercurial already has plaform-specific C code anyway.
> >>>
> >>> I plan to leave C code in osutil.c and call it from the windows-specific
> >>> extension. Could it be done this way?
> >>
> >> It could, but for newer things we prefer not adding C code just to call
> >> a few Windows API's. Mercurial on Windows now depends on ctypes.
> >>
> >> I could help you by adding basic infrastructure in win32.py. It's not
> >> that difficult. You could then call that in your extension.
> >
> > Well, I'm not sure. My concern is that the problem with redirection is not
> > finally solved.
Adrian, did you read this part?
This code is still a proof-of-concept.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list