diff options
-rw-r--r-- | entities/index.php | 3 | ||||
-rw-r--r-- | views/default/page_elements/header.php | 2 | ||||
-rw-r--r-- | views/default/pageshells/pageshell.php | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/entities/index.php b/entities/index.php index b9890c1f8..f33df9ced 100644 --- a/entities/index.php +++ b/entities/index.php @@ -51,7 +51,8 @@ // Display the page
if ($shell) {
page_draw("", $body);
- } else {
+ } else { + header("Content-type: text/html; charset=UTF-8");
echo $body;
}
diff --git a/views/default/page_elements/header.php b/views/default/page_elements/header.php index 1c5149d07..609e6181b 100644 --- a/views/default/page_elements/header.php +++ b/views/default/page_elements/header.php @@ -53,7 +53,7 @@ END; <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title><?php echo $title; ?></title> <!-- include links to jQuery here? --> <script type="text/javascript" src="<?php echo $vars['url']; ?>vendors/jquery/jquery-1.2.6.pack.js"></script> diff --git a/views/default/pageshells/pageshell.php b/views/default/pageshells/pageshell.php index c92b50ea7..7ba7cc22b 100644 --- a/views/default/pageshells/pageshell.php +++ b/views/default/pageshells/pageshell.php @@ -18,7 +18,7 @@ */ // Set the content type - header("Content-type: text/html; charset=iso-8859-1"); + header("Content-type: text/html; charset=UTF-8"); // Set title if (empty($vars['title'])) { |