X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fpage_header.php;h=51f818dcafd69f541e4c42b0388aa7342f12b94c;hp=8fed43b9dc722fa41f3c0c8e4aaaf8eb8c7a4bb1;hb=683b78531baadf29d69063c3eb31d224006fd992;hpb=08e421bdf9fa43ac1dd50ca7d73bc54ed50043aa 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"; }