什么DVCS支持Unicode文件名? [英] What DVCS support Unicode filenames?

查看:128
本文介绍了什么DVCS支持Unicode文件名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有兴趣尝试分布式版本控制系统。 git听起来很有前途,但我在git的Windows端口看到了一个说明,指出不要使用非ASCII文件名。我现在找不到,但有此链接 。它现在让我失望了,但我不知道其他选项是否更好。



对于我的日本公司来说,支持非ASCII文件名是必不可少的。我正在寻找一个内部存储文件名为Unicode的文件,而不是一个会导致无尽悲伤的平台相关编码。所以:
$ b $ ol <

  • 什么DVCS支持Unicode文件名?

  • 在Windows和Linux中?
  • >
  • 理想情况下,可以在Windows和Linux计算机之间以最小的问题传输存储库吗?


    解决方案

    请参见 issue 80 in the same repository 。 2009年,有关Git邮件列表的讨论(例如 1 < a>, 2 )Git的维护人员Junio Hamano问了一些问题有关这个问题。我没有在这里。



    在Java实现JGit中,当我们创建文本元数据和文件名时,我们总是使用UTF-8 。这是唯一的方法,但有一些事情要考虑。


    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?

    解决方案

    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.

    这篇关于什么DVCS支持Unicode文件名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆