diff options
author | Karsten Blees <blees@dcon.de> | 2015-02-26 17:19:45 +0800 |
---|---|---|
committer | Pat Thoyts <patthoyts@users.sourceforge.net> | 2016-10-06 09:23:21 +0100 |
commit | ae75e1e432b40a8de8e131888951a831ecef8915 (patch) | |
tree | 87bbfef57090228b022ba06e56fd4b0f6a8bd3e1 /Documentation/RelNotes/1.5.3.4.txt | |
parent | git-gui: unicode file name support on windows (diff) | |
download | tgif-ae75e1e432b40a8de8e131888951a831ecef8915.tar.xz |
git-gui: handle the encoding of Git's output correctly
If we use 'eval exec $opt $cmdp $args' to execute git command,
tcl engine will convert the output of the git comand with the rule
system default code page to unicode.
But cp936 -> unicode conversion implicitly done by exec is not reversible.
So we have to use git_read instead.
Bug report and an original reproducer by Cloud Chou:
https://github.com/msysgit/git/issues/302
Cloud Chou find the reason of the bug.
Thanks-to: Johannes Schindelin <johannes.schindelin@gmx.de>
Thanks-to: Pat Thoyts <patthoyts@users.sourceforge.net>
Reported-by: Cloud Chou <515312382@qq.com>
Original-test-by: Cloud Chou <515312382@qq.com>
Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Cloud Chou <515312382@qq.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Diffstat (limited to 'Documentation/RelNotes/1.5.3.4.txt')
0 files changed, 0 insertions, 0 deletions