From: Junio C Hamano Date: Fri, 30 Aug 2013 18:05:04 GMT Subject: Re: [PATCH] gitweb: Fix the author initials in blame for non-ASCII names Message-ID: In-Reply-To: <1377851821-5412-1-git-send-email-avarab@gmail.com> Ævar Arnfjörð Bjarmason writes: > Acked-by: Jakub Narębski > Tested-by: Ævar Arnfjörð Bjarmason > Tested-by: Simon Ruderich > --- > gitweb/gitweb.perl | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl > index f429f75..ad48a5a 100755 > --- a/gitweb/gitweb.perl > +++ b/gitweb/gitweb.perl > @@ -6631,6 +6631,7 @@ sub git_blame_common { > $hash_base, '--', $file_name > or die_error(500, "Open git-blame --porcelain failed"); > } > + binmode $fh, ':utf8'; > > # incremental blame data returns early > if ($format eq 'data') { [Fri Aug 30 17:48:17 2013] gitweb.perl: Global symbol "$fh" requires explicit package name at /home/gitster/w/buildfarm/next/t/../gitweb/gitweb.perl line 6634. [Fri Aug 30 17:48:17 2013] gitweb.perl: Execution of /home/gitster/w/buildfarm/next/t/../gitweb/gitweb.perl aborted due to compilation errors.