Skip to content

Commit 0668f04

Browse files
committed
Merge branch 'yk/console-encoding'
* yk/console-encoding: git-gui: use system encoding to show console output Signed-off-by: Johannes Sixt <[email protected]>
2 parents e503389 + e5b5eca commit 0668f04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/console.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ method exec {cmd {after {}}} {
9797
lappend cmd 2>@1
9898
set fd_f [_open_stdout_stderr $cmd]
9999
}
100-
fconfigure $fd_f -blocking 0 -translation binary
100+
fconfigure $fd_f -blocking 0 -translation binary -encoding [encoding system]
101101
fileevent $fd_f readable [cb _read $fd_f $after]
102102
}
103103

0 commit comments

Comments
 (0)