GIT:不处理包含unicode char的文件名(例如chinese / korean) [英] GIT: does not handle filenames which contain unicode char(e.g. chinese/korean)
本文介绍了GIT:不处理包含unicode char的文件名(例如chinese / korean)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
- 在GIT中使用ls将文件名中的所有unicode显示为'?'(即???。mp3)。
- 当使用git add -A时,返回以下错误:fatal:unable to stat'example / ???。mp3':no such file or directory
有没有解决方法?
谢谢。
解决方案
Msysgit不支持文件名中的非ASCII字符。有关详细信息,请参阅其问题80 。
考虑使用Cygwin的git包,而不是完全支持UTF-8。
Issues:
- Using ls in GIT shows all unicode in filenames as '?' (i.e. ???.mp3).
- When using git add -A the following error is returned: "fatal: unable to stat 'example/???.mp3': no such file or directory"
Is there a solution to this?
Thanks.
解决方案
Msysgit doesn't have support for non-ASCII characters in filenames. See its issue 80 for details.
Consider using Cygwin's git package instead, which does have full UTF-8 support.
这篇关于GIT:不处理包含unicode char的文件名(例如chinese / korean)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文