Properly set charset to utf8 on responses.
authorMagnus Hagander <magnus@hagander.net>
Tue, 8 Mar 2011 10:09:55 +0000 (10:09 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 8 Mar 2011 10:11:02 +0000 (10:11 +0000)
perl-lib/PgCommitFest/Request.pm

index ada9de55e96cec9ea2ab26617c5ef764d1fc0249..f2b89d49c4d7a9e939473071db59fdef20d9d9bf 100644 (file)
@@ -30,7 +30,7 @@ sub new {
                'db' => undef,
                'error_list' => [],
                'header' => {
-                       'Content-type' => 'text/html',
+                       'Content-type' => 'text/html; charset=utf-8',
                        'Cache-Control' => 'no-cache',
                        'Pragma' => 'no-cache',
                },