filename with ñ (U+00F1) can't add to repo.

Matt Mackall mpm at selenic.com
Mon Apr 23 16:31:00 UTC 2012


On Mon, 2012-04-23 at 17:21 +0800, Xpol Wan wrote:
> Hi,
> 
>  I found that in windows, filename with ñ (U+00F1) can't add to repo.

Presumably, ñ is not in your current ANSI code page.

> but ohter chars with accent are ok. and my dos console can list the
> filename with ñ properly.
> 
> I have tried to enable the win32mbcs extension, but it does not help.
> 
> Is there any solution?

You can try using codepage 65001 (UTF-8), but the Windows console is
known to have some buggy interactions with Python here. You'll also need
to adjust the names of your existing files to UTF-8.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list