Subject: gitweb: Make feed title valid utf8 Jürgen Kreileder <jk@xxxxxxxxxxxx> writes: > gitweb doesn't properly handle UTF8 site names when generating feed titles. > > Signed-off-by: Juergen Kreileder <jk@xxxxxxxxxxxx> > --- > gitweb/gitweb.perl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl > index 4f0c3bd..a2838c3 100755 > --- a/gitweb/gitweb.perl > +++ b/gitweb/gitweb.perl > @@ -7482,7 +7482,7 @@ sub git_feed { > return if ($cgi->request_method() eq 'HEAD'); > > # header variables > - my $title = "$site_name - $project/$action"; > + my $title = to_utf8($site_name) . " - " . to_utf8($project) . "/$action"; > my $feed_type = 'log'; > if (defined $hash) { > $title .= " - '$hash'"; > -- Thanks. With the minor nit of prefixing subject with subsystem designation, i.e. with "gitweb: " -- ACK. -- Jakub Narębski -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html