From 683b78531baadf29d69063c3eb31d224006fd992 Mon Sep 17 00:00:00 2001 From: tokul Date: Sun, 19 Dec 2004 15:45:53 +0000 Subject: [PATCH 1/1] explanation of weird chars and header git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8442 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/page_header.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/functions/page_header.php b/functions/page_header.php index 8fed43b9..51f818dc 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -53,6 +53,13 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = true } if ($squirrelmail_language == 'ja_JP') { + /* + * force correct detection of charset, when browser does not follow + * http content-type and tries to detect charset from page content. + * Shooting of browser's creator can't be implemented in php. + * We might get rid of it, if we follow http://www.w3.org/TR/japanese-xml/ + * recommendations and switch to unicode. + */ echo "\n"; echo '' . "\n"; } -- 2.25.1