From: Eric Wong Date: Mon, 5 May 2014 19:56:20 +0000 (+0000) Subject: www: set charset=UTF-8 in full message view X-Git-Tag: v1.0.0~1154 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=c713a96907b8e8c36327a34fc19d8c464b9985d8;p=public-inbox.git www: set charset=UTF-8 in full message view Oops, this was an oversight. --- diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm index f0704336..95f80007 100644 --- a/lib/PublicInbox/WWW.pm +++ b/lib/PublicInbox/WWW.pm @@ -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)] ]; }