aboutsummaryrefslogtreecommitdiff
path: root/views/failsafe/pageshells
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-12-20 19:58:01 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-12-20 19:58:01 +0000
commitdf22b23fa92a64277631109593016a7f7e8fd22b (patch)
treebd545d1960dbc6010672ed247b8c37483ca4c7d1 /views/failsafe/pageshells
parent8b13885cf31c84249bd5977376707737083cc630 (diff)
downloadelgg-df22b23fa92a64277631109593016a7f7e8fd22b.tar.gz
elgg-df22b23fa92a64277631109593016a7f7e8fd22b.tar.bz2
fixes #1193 - now specify charset in both metatag and http header
git-svn-id: http://code.elgg.org/elgg/trunk@3774 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/failsafe/pageshells')
-rw-r--r--views/failsafe/pageshells/pageshell.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/views/failsafe/pageshells/pageshell.php b/views/failsafe/pageshells/pageshell.php
index 468e00ef1..7e9893e73 100644
--- a/views/failsafe/pageshells/pageshell.php
+++ b/views/failsafe/pageshells/pageshell.php
@@ -14,10 +14,15 @@
* @uses $vars['body'] The main content of the page
* @uses $vars['messages'] A 2d array of various message registers, passed from system_messages()
*/
+
+// we won't trust server configuration but specify utf-8
+header('Content-type: text/html; charset=utf-8');
+
?>
<html>
<head>
<title><?php echo $vars['title']; ?></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">