X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/8832ebdc29c3d5ae8676aa305a335213d2662fdd4977954daf10eb42e71a3a6d..00b91dc5ac3d4f560cf7653d83f2b7195cfdece200a51adc368f3d3f920d4869:/gitweb.perl diff --git a/gitweb.perl b/gitweb.perl index e5ca381..3eb82ef 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -2574,7 +2574,7 @@ sub parse_commit_text { } elsif ((!defined $withparents) && ($line =~ m/^parent ([0-9a-fA-F]{40})$/)) { push @parents, $1; } elsif ($line =~ m/^author (.*) ([0-9]+) (.*)$/) { - $co{'author'} = $1; + $co{'author'} = to_utf8($1); $co{'author_epoch'} = $2; $co{'author_tz'} = $3; if ($co{'author'} =~ m/^([^<]+) <([^>]*)>/) { @@ -2584,10 +2584,9 @@ sub parse_commit_text { $co{'author_name'} = $co{'author'}; } } elsif ($line =~ m/^committer (.*) ([0-9]+) (.*)$/) { - $co{'committer'} = $1; + $co{'committer'} = to_utf8($1); $co{'committer_epoch'} = $2; $co{'committer_tz'} = $3; - $co{'committer_name'} = $co{'committer'}; if ($co{'committer'} =~ m/^([^<]+) <([^>]*)>/) { $co{'committer_name'} = $1; $co{'committer_email'} = $2;