summaryrefslogtreecommitdiff
path: root/lib/htmloutputter.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-09-30 10:51:59 +0000
committerSarven Capadisli <csarven@status.net>2009-09-30 10:51:59 +0000
commit353f58c23149159306131b0819de713da6b69464 (patch)
tree7bacccfca8d462f1e19c73a35b10a52ccbe8bde6 /lib/htmloutputter.php
parenteb85f16f773ff1df71d1af4fad85d40286d5f3a6 (diff)
Outputting UTF-8 charset in document header irrespective of mimetype.
Diffstat (limited to 'lib/htmloutputter.php')
-rw-r--r--lib/htmloutputter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php
index 9e3a5b305..99f956545 100644
--- a/lib/htmloutputter.php
+++ b/lib/htmloutputter.php
@@ -106,7 +106,7 @@ class HTMLOutputter extends XMLOutputter
}
}
- header('Content-Type: '.$type);
+ header('Content-Type: '.$type.'; charset=UTF-8');
$this->extraHeaders();
if( ! substr($type,0,strlen('text/html'))=='text/html' ){