Support
Support copied to clipboard
How to modify the encoding?
Lovely developer I'm looking for a good git GUI tool, when I find gitfiend, I am sure this is what I am looking for, but when I was in use there has a problem, I am from China, using the Windows 7 operating system, the system default encoding is GBK, while git default encoding is utf-8, so it show messy code when display git log. How should I do?
Hi sunyakun,
This could be a bug in GitFiend as I haven't done testing on a Chinese version of Windows. I tried converting a file to GBK and didn't see the issue, so I will need to look into it further.
If you could provide a screenshot of the problem, that would help.
Git configuration file can control the encoding of input and output. I modified the encoding of git through the following command to solve this problem
git config --global i18n.commitencoding utf-8
git config --global i18n. logoutputencoding GBK
I am sorry that I can't provide a screenshot, because my working environment is isolation from Internet.
Thanks for this. I will see if there's a way to fix this so that others don't have the same problem.