summaryrefslogtreecommitdiff
path: root/lib/htmloutputter.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-10-01 10:07:09 +0000
committerSarven Capadisli <csarven@status.net>2009-10-01 10:07:09 +0000
commitcc776478e2ea8fc861fd3b4e8e878f7d6020c34e (patch)
tree5e19f639ec2a4f396f32d47d20622a7efb1e91d1 /lib/htmloutputter.php
parentc5be2962ad6fa4f78a4892005bc6a342de89c5d0 (diff)
Revert "Outputting UTF-8 charset in document header irrespective of mimetype."
This reverts commit 353f58c23149159306131b0819de713da6b69464. Even though outputting UTF-8 by default at all times is a good thing, it shouldn't be forced in startHTML().
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 64be745be..c70f96537 100644
--- a/lib/htmloutputter.php
+++ b/lib/htmloutputter.php
@@ -106,7 +106,7 @@ class HTMLOutputter extends XMLOutputter
}
}
- header('Content-Type: '.$type.'; charset=UTF-8');
+ header('Content-Type: '.$type);
$this->extraHeaders();
if (preg_match("/.*\/.*xml/", $type)) {