gitx icon indicating copy to clipboard operation
gitx copied to clipboard

Problems with non-ASCII file names

Open ssp opened this issue 14 years ago • 2 comments

First of all a big thanks for all the effort going into making GitX even better and creating a graphical interface to more of git's features.

An issue I ran into when playing with the current revisions is that files with non-ASCII file names aren't handled correctly and git cannot operate on them.

For an example try:

[kalle:/tmp] ssp% mkdir test [kalle:/tmp] ssp% cd test [kalle:/tmp/test] ssp% git init Initialized empty Git repository in /private/tmp/test/.git/ [kalle:/tmp/test] ssp% touch ä

Then view the repository in GitX and try to commit the file »ä«.

http://dl.dropbox.com/u/382997/GitX%20Umlauts.png

ssp avatar Apr 07 '11 19:04 ssp

I'm looking into making gitx do this but by default git status suffers the same problem. If you're frequently working with UTF-8 filenames you can try this in the terminal:

git config --global core.quotepath false

gitx will actually then do the right thing and show fun characters.

mczepiel avatar May 18 '12 08:05 mczepiel

yes, that does the trick, thanks for the hint!

ssp avatar May 18 '12 21:05 ssp