From 0fcc6cd705d34c3616b28e3c825c44cd382867c0 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 25 May 2008 13:22:49 +0000 Subject: [PATCH] old code for when PMA was not utf-8-only --- libraries/string.lib.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/libraries/string.lib.php b/libraries/string.lib.php index 0c5a50504..8d153eb49 100644 --- a/libraries/string.lib.php +++ b/libraries/string.lib.php @@ -30,13 +30,7 @@ $GLOBALS['PMA_allow_mbstr'] = @function_exists('mb_strlen'); if ($GLOBALS['PMA_allow_mbstr']) { - // the hebrew lang file uses iso-8859-8-i, encoded RTL, - // 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']); - } + mb_internal_encoding($GLOBALS['charset']); } // This is for handling input better