From: philippe_mingo Date: Thu, 22 Aug 2002 10:14:25 +0000 (+0000) Subject: Bugfix X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=538f1ab750a7a9797d5a6475e3bfb5cd6f7e0287 Bugfix git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3406 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/i18n.php b/functions/i18n.php index cf7750d9..93217f1c 100644 --- a/functions/i18n.php +++ b/functions/i18n.php @@ -745,7 +745,7 @@ function set_up_language($sm_language, $do_search = false) { } setlocale(LC_ALL, $sm_notAlias); $squirrelmail_language = $sm_notAlias; - if ($squirrelmail_language == 'ja_JP') { + if ($squirrelmail_language == 'ja_JP' && function_exists('mb_detect_encoding') ) { header ('Content-Type: text/html; charset=EUC-JP'); if (!function_exists('mb_internal_encoding')) { echo _("You need to have php4 installed with the multibyte string function enabled (using configure option --with-mbstring).");