X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/a9693e5118f25baceb792797a7e9f69f65a871e7d16dfaf8100b10ce475e2c45..762624fb840d8d182cc7c3820ea4715181a7cad1d78e4fe0f6356e58dcf8ee36:/gitweb.perl diff --git a/gitweb.perl b/gitweb.perl index 67b41e5..0dbca9d 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -6245,7 +6245,9 @@ sub git_blame_common { -type=>"text/plain", -charset => "utf-8", -status=> "200 OK"); local $| = 1; # output autoflush - print while <$fd>; + while (my $line = <$fd>) { + print to_utf8($line); + } close $fd or print "ERROR $!\n";