aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2024-12-09 21:19:33 +0100
committerJohannes Sixt <j6t@kdbg.org>2024-12-09 21:19:33 +0100
commit0668f0470d68d297bc463027d66668e34a3b1f80 (patch)
tree58652edd3c45371bfcf867722264588db26bca96
parente5033898da23b6e2f6b77320bd0aa613595a50a1 (diff)
parente5b5eca3f226e7b48f61f806c419f66b03db99e6 (diff)
downloadgit-0668f0470d68d297bc463027d66668e34a3b1f80.tar.gz
Merge branch 'yk/console-encoding'
* yk/console-encoding: git-gui: use system encoding to show console output Signed-off-by: Johannes Sixt <j6t@kdbg.org>
-rw-r--r--lib/console.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/console.tcl b/lib/console.tcl
index bb6b9c889e..fafafb81f1 100644
--- a/lib/console.tcl
+++ b/lib/console.tcl
@@ -97,7 +97,7 @@ method exec {cmd {after {}}} {
lappend cmd 2>@1
set fd_f [_open_stdout_stderr $cmd]
}
- fconfigure $fd_f -blocking 0 -translation binary
+ fconfigure $fd_f -blocking 0 -translation binary -encoding [encoding system]
fileevent $fd_f readable [cb _read $fd_f $after]
}