git-gui: unicode file name support on windows
[gitweb.git] / lib / browser.tcl
index 158049353f4eca4ed9079b157f9951ab0cc53542..a98298366763d841d3f88e4478f0afdc6e9a5653 100644 (file)
@@ -197,7 +197,7 @@ method _ls {tree_id {name {}}} {
        $w conf -state disabled
 
        set fd [git_read ls-tree -z $tree_id]
-       fconfigure $fd -blocking 0 -translation binary -encoding binary
+       fconfigure $fd -blocking 0 -translation binary -encoding utf-8
        fileevent $fd readable [cb _read $fd]
 }