X-Git-Url: https://git.chrismorgan.info/gitweb/blobdiff_plain/1e764923eb029c7fbe20af5935905f7ab173cf3e..c83ccd7eeefbc7b43977a7542ba6b0ac87dfe1aa:/gitweb.cgi diff --git a/gitweb.cgi b/gitweb.cgi index d78c4f5..5af873c 100755 --- a/gitweb.cgi +++ b/gitweb.cgi @@ -8059,12 +8059,12 @@ sub git_commitdiff { } elsif ($format eq 'plain') { local $/ = undef; - print <$fd>; + print to_utf8(<$fd>); close $fd or print "Reading git-diff-tree failed\n"; } elsif ($format eq 'patch') { local $/ = undef; - print <$fd>; + print to_utf8(<$fd>); close $fd or print "Reading git-format-patch failed\n"; }