13

I recently switched to using a Git repository within Eclipse (Juno SR2), using EGit. In our project, some file names contains umlauts and other special non-ASCII-characters. On the command line, git status show no changes, workspace clean, but Eclipse marks those files as changed:enter image description here

How can I make Eclipse/EGit use the correct encoding for filenames? I tried setting LANG, file.encoding and the git config svn.pathnameencoding all to no avail. And again, on the command line there are no such errors.

Stefan Seidel
  • 10,855

1 Answers1

1

Try installing Aptana Git. I prefer that one.

Help > Install New Software > Aptana Studio - http://download.aptana.com/studio3/plugin/install

It will actually install a great deal of plugins, mostly for web development, but I don't see a way to install the Git plugin separately.

Then go to your project > Navigator > Project > Right Click > Team > Disconnect > Right Click > Team > Share Project > Aptana Git > Next > Finish

This is what the commit screen looks like:

Imgur

Chloe
  • 6,196