From a448f5a9b46c5a5e5bcd64072a420bef33161a44 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 8 Jun 2003 16:50:05 +0000 Subject: - Charset simpliciations. Patch #46 by Al. --- includes/common.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index 9909da1a2..3b30032d0 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -203,7 +203,7 @@ function variable_del($name) { } function drupal_specialchars($input) { - return htmlspecialchars($input, ENT_NOQUOTES, variable_get("site_charset", "iso-8859-1")); + return htmlspecialchars($input, ENT_NOQUOTES, "utf-8"); } function table_cell($cell, $header = 0) { @@ -1025,7 +1025,7 @@ $conf = variable_init(isset($conf) ? $conf : array()); set_error_handler("error_handler"); // spit out the correct charset http header -header("Content-Type: text/html; charset=". variable_get("site_charset", "iso-8859-1")); +header("Content-Type: text/html; charset=utf-8"); // initialize installed modules: module_init(); -- cgit v1.2.3