diff --git a/ChangeLog b/ChangeLog index 87e36765e..319c93030 100755 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,8 @@ $Source$ * libraries/grab_globals.lib.php: More hotfixes against bug #1149381. * libraries/mysql_charsets.lib.php: Detection for new Japanese charsets (cp932 and eucjpms) that will be introduced with MySQL 5.0.3. + * libraries/select_lang.lib.php: Removed the UTF-8 deactivation code that + we had already commented out a long time ago. 2005-02-22 Alexander M. Turek * libraries/grab_globals.lib.php: Hotfix against bug #1149381 and parts diff --git a/libraries/select_lang.lib.php b/libraries/select_lang.lib.php index 8fc5485f6..0d4ae7799 100644 --- a/libraries/select_lang.lib.php +++ b/libraries/select_lang.lib.php @@ -219,26 +219,6 @@ if (!isset($cfg['DefaultLang']) && isset($cfgDefaultLang)) { unset($cfgLang); } -/** - * - * 2004-02-15 rabus: Deactivated the code temporarily: - * We need to allow UTF-8 in order to be MySQL 4.1 compatible! - -// Disable UTF-8 if $cfg['AllowAnywhereRecoding'] has been set to FALSE. -if (!isset($cfg['AllowAnywhereRecoding']) || !$cfg['AllowAnywhereRecoding']) { - $available_language_files = $available_languages; - $available_languages = array(); - foreach ($available_language_files AS $tmp_lang => $tmp_lang_data) { - if (substr($tmp_lang, -5) != 'utf-8') { - $available_languages[$tmp_lang] = $tmp_lang_data; - } - } // end while - unset($tmp_lang, $tmp_lang_data, $available_language_files); -} // end if - - * - */ - // MySQL charsets map $mysql_charset_map = array( 'big5' => 'big5',