]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/WwwListing.pm
treat $INBOX_DIR/description and gitweb.owner as UTF-8
[public-inbox.git] / lib / PublicInbox / WwwListing.pm
index 38a37ddaae977f129081f4b054f4ac9a1076385b..a416d24f0e446e27ae3c3148b061be9128ca7350 100644 (file)
@@ -159,6 +159,8 @@ sub manifest_add ($$;$$) {
        chomp(my $desc = try_cat("$git_dir/description"));
        $owner = undef if $owner eq '';
        $desc = 'Unnamed repository' if $desc eq '';
+       utf8::decode($desc);
+       utf8::decode($owner);
 
        # templates/hooks--update.sample and git-multimail in git.git
        # only match "Unnamed repository", not the full contents of