Subject: [PATCH 1/2] Fixing file name encoding issues.

From: "Kazuhiro Kato via GitGitGadget" <[email-masked]>
Date: Tue, 18 Feb 2025 22:42:25 +0000

From: Kazuhiro Kato <[email-masked]>

Signed-off-by: Kazuhiro Kato <[email-masked]>
---
 gitk-git/gitk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gitk-git/gitk b/gitk-git/gitk
index 47a7c1d29c4..88951ed2384 100755
--- a/gitk-git/gitk
+++ b/gitk-git/gitk
@@ -12379,6 +12379,7 @@ catch {
 if {$gitencoding == ""} {
     set gitencoding "utf-8"
 }
+encoding system utf-8
 set tclencoding [tcl_encoding $gitencoding]
 if {$tclencoding == {}} {
     puts stderr "Warning: encoding $gitencoding is not supported by Tcl/Tk"
-- 
gitgitgadget