]> Sergey Matveev's repositories - public-inbox.git/commitdiff
www: set charset=UTF-8 in full message view
authorEric Wong <e@80x24.org>
Mon, 5 May 2014 19:56:20 +0000 (19:56 +0000)
committerEric Wong <e@80x24.org>
Mon, 5 May 2014 19:56:43 +0000 (19:56 +0000)
Oops, this was an oversight.

lib/PublicInbox/WWW.pm

index f070433625623f1c5209824c87438a6dceee1a4a..95f800076a80ab502e7a82e6fb545de6e02cd83d 100644 (file)
@@ -181,7 +181,7 @@ sub get_full_html {
        require PublicInbox::View;
        require Email::MIME;
        my $foot = footer($ctx);
-       [ 200, [ 'Content-Type' => 'text/html' ],
+       [ 200, [ 'Content-Type' => 'text/html; charset=UTF-8' ],
          [ PublicInbox::View->msg_html(Email::MIME->new($x), undef, $foot)] ];
 }