public-inbox.cgi | 4 ++-- diff --git a/public-inbox.cgi b/public-inbox.cgi index 3bc6eca3c574fbe31e67a07141c10a0269c7b2c8..1d43b86fb0563061fdb5d8283e0419866ba5ac22 100755 --- a/public-inbox.cgi +++ b/public-inbox.cgi @@ -132,7 +132,7 @@ # /$LISTNAME/?r=$GIT_COMMIT -> HTML only sub get_index { my ($ctx, $cgi, $top) = @_; require PublicInbox::Feed; - [ 200, [ 'Content-Type' => 'text/html' ], + [ 200, [ 'Content-Type' => 'text/html; charset=UTF-8' ], [ PublicInbox::Feed->generate_html_index({ git_dir => $ctx->{git_dir}, listname => $ctx->{listname}, @@ -184,7 +184,7 @@ my $mid_href = PublicInbox::Hval::ascii_html( uri_escape_utf8($ctx->{mid})); my $pfx = "../f/$mid_href.html"; require Email::MIME; - [ 200, [ 'Content-Type' => 'text/html' ], + [ 200, [ 'Content-Type' => 'text/html; charset=UTF-8' ], [ PublicInbox::View->as_html(Email::MIME->new($$x), $pfx) ] ]; }