Search code examples
windowsgitgit-svnmsysgitunicode-string

GIT: does not handle filenames which contain unicode char(e.g. chinese/korean)


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.


Solution

  • 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.