Filename encoding interoperability between Linux

Manuel Jacob me at manueljacob.de
Mon Aug 5 00:19:04 UTC 2019


Hi,

So far, all systems from which we accessed our Mercurial repositories 
have been Linux machines, configured with a UTF-8 locale.

We want to give some Windows machines access to some of our 
repositories.  But now the problem is that if a file with a non-ASCII 
filename is committed on Windows, the filename is not properly shown on 
Linux and vice versa.

I understand that the problem is that Mercurial doesn't interpret the 
encoding of the file name.  But it's unclear how to solve the problem.  
The Wiki was not very helpful regarding this.  The information ranges 
from "too bad, Mercurial won't help you here" to "we have a plan on how 
to fix the problem", but because the idea is originally from 2011, it's 
unclear whether or not it was implemented in the meantime.

What would you recommend to solve this problem?  The Windows clients 
access the repositories with TortoiseHG.  Ideally, in the repository, we 
would like to have everything encoded in UTF-8.

-Manuel


More information about the Mercurial mailing list