10

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.

whamsicore
  • 8,320
  • 9
  • 40
  • 50

3 Answers3

9

As of MSysGit 1.7.10 (the latest version at this time), Unicode is correctly supported on Windows, at the condition you tweak some settings and use a truetype font in the console.

See explanations here, including how to deal with previous repositories.

CharlesB
  • 86,532
  • 28
  • 194
  • 218
4

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.

ak2
  • 6,629
  • 31
  • 27
0

Git for Windows now uses Unicode for filenames.

[Edit: s/not/now/.. sic :( ]

robinr
  • 4,376
  • 2
  • 20
  • 18