git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3406
7612ce4b-ef26-0410-bec9-
ea0150e637f0
}
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).");