Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What DVCS support Unicode filenames?

Tags:

I'm interested in trying out distributed version control systems. git sounds promising, but I saw a note somewhere for the Windows port of git that says "don't use non-ASCII filenames". I can't find that now, but there is this link. It's put me off git for now, but I don't know if the other options are any better.

Support for non-ASCII filenames is essential for my Japanese company. I'm looking for one that internally stores filenames as Unicode, not a platform-dependent encoding which would cause endless grief. So:

  1. What DVCS support Unicode filenames?
  2. In both Windows and Linux?
  3. Ideally, with the possibility to transfer repositories between Windows and Linux machines with minimal issues?
like image 497
Craig McQueen Avatar asked May 06 '09 13:05

Craig McQueen


2 Answers

See issue 80 in the same repository. In 2009, there was a discussion on the Git Mailing list (e.g. 1, 2) where the Git maintainer Junio Hamano asked some questions regarding this. I don't have it right here. By joining the thread in a constructive manner you might help in resolving the issue.

In the Java implementation JGit, we always use UTF-8 when we create textual metadata and filenames. That is the only way, but there are some things to consider.

like image 166
robinr Avatar answered Sep 22 '22 09:09

robinr


Bazaar VCS works with unicode filenames internally. And it has very good support for unicode both on Linux and Windows.

like image 30
bialix Avatar answered Sep 19 '22 09:09

bialix