From: tokul Date: Sun, 19 Dec 2004 15:45:53 +0000 (+0000) Subject: explanation of weird chars and header X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=683b78531baadf29d69063c3eb31d224006fd992 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 --- 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"; }