soramimi / Guitar

Git GUI Client
https://soramimi.github.io/Guitar/
GNU General Public License v2.0
1.57k stars 124 forks source link

Cannot stage/unstage files with Chinese characters in file name #108

Open geovens opened 3 years ago

geovens commented 3 years ago

Hi,

If I select an unstaged file named "ceshi.txt" and click the "Stage" button, the file get staged correctly and is moved to the right side.

However if I select an unstaged file named "测试.txt" and click the "Stage" button, it does not get staged:

The same also is true when unstaging files. If I select the staged file named "测试.txt" and click the "Unstage" button, it does not get unstaged::

geovens commented 3 years ago

I use Windows 10 English version 2004, Guitar v1.2.999 nightly (f09017f).

soramimi commented 3 years ago

fixed in [7f914ec]

geovens commented 3 years ago

Hi,

I feel that this may be related, so I add comments here instead of opening new issue.

Most files with Chinese file name are working now, but if I have a file named "测控20-21.txt",on Guitar it shows as: 2021-06-15 18-41-58 and I can't stage it.

geovens commented 2 years ago

Hi,

Thank you again for this lovely software. Even though it's not perfect and fails here and there, but I'm still using it everyday. When the software fails in executing a command, I turn to command line and do it myself, so it's not too big a problem.

Anyway, if the software could handle the command better and fail less, that would be very convenient and makes the software gold for me.

Sorry for bring this issue up, but I just want to express my wish that the problem described here could be fixed someday.

Best regards.