Can't add any non-ascii files on mercurial for Windows?
Matt Mackall
mpm at selenic.com
Tue Sep 25 16:19:32 UTC 2012
On Tue, 2012-09-25 at 16:11 +0200, Tony Mechelynck wrote:
> On 25/09/12 04:09, Nathan Davis wrote:
> > Thanks for your reply.
> >
> > My default Codepage is 437
> > (|HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage\OEMCP)|,
> > but I also (on the command line via chcp) experimented with a few other
> > code pages (50227, 50229, 65001) which didn't change the behavior any.
> >
> > So, it sounds like, at least for now, I am out of luck.
> [...]
>
> Try 10646. IIRC that's the Windows codepage for Unicode (not sure if
> it's UTF-8 or UTF-16le, and the name comes from ISO/IEC 10646 which is
> also Unicode, but from the ISO point of view).
That'd be cp65001, which can be mostly made to work.
Also note that Mercurial ignores the _OEM_ code page (typically used by
console apps) and only looks at the _ANSI_ code page (typically used by
GUI apps and filesystem APIs).
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list