Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Getting encoding problem after upgrading to tig 1.0 #62
I have a git repository in which files and logs are written in GB18030 encoding. It works well when I used tig 0.18. I just need to set i18n.commitEncoding to GB18030, and set LC_CTYPE to zh_CN.GB18030. But after upgrading to tig 1.0, I can't find a way to get it work anymore. I found that in commit 6b195c0, it forces to use UTF-8 to decode anything. But for me there are GB18030 encoded characters in the files, and git log with --encoding parameter will not convert the diff of files. Is there any way to get it work again? Thanks :)