old code for when PMA was not utf-8-only

This commit is contained in:
Marc Delisle
2008-05-25 13:22:49 +00:00
parent 050ba7b6cc
commit 0fcc6cd705

View File

@@ -30,13 +30,7 @@
$GLOBALS['PMA_allow_mbstr'] = @function_exists('mb_strlen'); $GLOBALS['PMA_allow_mbstr'] = @function_exists('mb_strlen');
if ($GLOBALS['PMA_allow_mbstr']) { if ($GLOBALS['PMA_allow_mbstr']) {
// the hebrew lang file uses iso-8859-8-i, encoded RTL, mb_internal_encoding($GLOBALS['charset']);
// but mb_internal_encoding only supports iso-8859-8
if ($GLOBALS['charset'] == 'iso-8859-8-i'){
mb_internal_encoding('iso-8859-8');
} else {
mb_internal_encoding($GLOBALS['charset']);
}
} }
// This is for handling input better // This is for handling input better