summaryrefslogtreecommitdiff
path: root/plugins/OStatus
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-31 12:48:24 -0700
committerBrion Vibber <brion@pobox.com>2010-03-31 12:48:24 -0700
commitdf9eb4164aec6d63869dee7bfd5cfddf6d831618 (patch)
treec078b097143772da34a6660039e79e470f86325a /plugins/OStatus
parent89bb05311685d1bab404300e600f61deb954e18c (diff)
parent3ed88938b95804ecadc62ed3a5f61a0863e2ff78 (diff)
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'plugins/OStatus')
-rw-r--r--plugins/OStatus/classes/Ostatus_profile.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/OStatus/classes/Ostatus_profile.php b/plugins/OStatus/classes/Ostatus_profile.php
index 34bff548d..8ba2ce0c3 100644
--- a/plugins/OStatus/classes/Ostatus_profile.php
+++ b/plugins/OStatus/classes/Ostatus_profile.php
@@ -1685,7 +1685,11 @@ class Ostatus_profile extends Memcached_DataObject
*/
function saveHTMLFile($title, $rendered)
{
- $final = sprintf("<!DOCTYPE html>\n<html><head><title>%s</title></head>".
+ $final = sprintf("<!DOCTYPE html>\n" .
+ '<html><head>' .
+ '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">' .
+ '<title>%s</title>' .
+ '</head>' .
'<body>%s</body></html>',
htmlspecialchars($title),
$rendered);