From 97c5b0781eccafa6423e0a237bb7311979beb758 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 12 Jul 2002 11:45:08 +0000 Subject: [PATCH] utf-8 --- ChangeLog | 3 +++ libraries/select_lang.lib.php3 | 32 +++++++++++++++++++++++++++++--- 2 files changed, 32 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7183ad73b..2c7a784a2 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2002-07-12 Marc Delisle + * libraries/select_lang.lib.php3: add -utf-8 choices + 2002-07-11 Loïc Chapeaux * pdf_schema.php3; tbl_printview.php3; tbl_properties_links.php3; tbl_properties_operations.php3; tbl_relation.php3; diff --git a/libraries/select_lang.lib.php3 b/libraries/select_lang.lib.php3 index 4f69e8aba..0d585621a 100644 --- a/libraries/select_lang.lib.php3 +++ b/libraries/select_lang.lib.php3 @@ -53,50 +53,76 @@ $available_languages = array( 'cs-utf-8' => array('cs|czech', 'czech-utf-8', 'cs'), 'cs-iso-8859-2'=> array('cs|czech', 'czech-iso-8859-2', 'cs'), 'cs-win1250' => array('cs|czech', 'czech-windows-1250', 'cs'), + 'da-utf-8' => array('da|danish', 'danish-utf-8', 'da'), 'da-iso-8859-1'=> array('da|danish', 'danish-iso-8859-1', 'da'), - 'de-iso-8859-1'=> array('de([-_][[:alpha:]]{2})?|german', 'german-iso-8859-1', 'de'), 'de-utf-8' => array('de([-_][[:alpha:]]{2})?|german', 'german-utf-8', 'de'), + 'de-iso-8859-1'=> array('de([-_][[:alpha:]]{2})?|german', 'german-iso-8859-1', 'de'), + 'el-utf-8' => array('el|greek', 'greek-utf-8', 'el'), 'el-iso-8859-7'=> array('el|greek', 'greek-iso-8859-7', 'el'), - 'en-iso-8859-1'=> array('en([-_][[:alpha:]]{2})?|english', 'english-iso-8859-1', 'en'), 'en-utf-8' => array('en([-_][[:alpha:]]{2})?|english', 'english-utf-8', 'en'), + 'en-iso-8859-1'=> array('en([-_][[:alpha:]]{2})?|english', 'english-iso-8859-1', 'en'), + 'es-utf-8' => array('es([-_][[:alpha:]]{2})?|spanish', 'spanish-utf-8', 'es'), 'es-iso-8859-1'=> array('es([-_][[:alpha:]]{2})?|spanish', 'spanish-iso-8859-1', 'es'), + 'et-utf-8' => array('et|estonian', 'estonian-utf-8', 'et'), 'et-iso-8859-1'=> array('et|estonian', 'estonian-iso-8859-1', 'et'), + 'fi-utf-8' => array('fi|finnish', 'finnish-utf-8', 'fi'), 'fi-iso-8859-1'=> array('fi|finnish', 'finnish-iso-8859-1', 'fi'), 'fr-utf-8' => array('fr([-_][[:alpha:]]{2})?|french', 'french-utf-8', 'fr'), 'fr-iso-8859-1'=> array('fr([-_][[:alpha:]]{2})?|french', 'french-iso-8859-1', 'fr'), + 'gl-utf-8' => array('gl|galician', 'galician-utf-8', 'gl'), 'gl-iso-8859-1'=> array('gl|galician', 'galician-iso-8859-1', 'gl'), 'he-iso-8859-8-i'=> array('he|hebrew', 'hebrew-iso-8859-8-i', 'he'), + 'hr-utf-8' => array('hr|croatian', 'croatian-utf-8', 'hr'), 'hr-win1250' => array('hr|croatian', 'croatian-windows-1250', 'hr'), 'hr-iso-8859-2'=> array('hr|croatian', 'croatian-iso-8859-2', 'hr'), + 'hu-utf-8' => array('hu|hungarian', 'hungarian-utf-8', 'hu'), 'hu-iso-8859-2'=> array('hu|hungarian', 'hungarian-iso-8859-2', 'hu'), + 'id-utf-8' => array('id|indonesian', 'indonesian-utf-8', 'id'), 'id-iso-8859-1'=> array('id|indonesian', 'indonesian-iso-8859-1', 'id'), + 'it-utf-8' => array('it|italian', 'italian-utf-8', 'it'), 'it-iso-8859-1'=> array('it|italian', 'italian-iso-8859-1', 'it'), + 'ja-utf-8' => array('ja|japanese', 'japanese-utf-8', 'ja'), 'ja-euc' => array('ja|japanese', 'japanese-euc', 'ja'), 'ja-sjis' => array('ja|japanese', 'japanese-sjis', 'ja'), 'ko-ks_c_5601-1987'=> array('ko|korean', 'korean-ks_c_5601-1987', 'ko'), 'ka-utf8' => array('ka|georgian', 'georgian-utf-8', 'ka'), + 'lt-utf-8' => array('lt|lithuanian', 'lithuanian-utf-8', 'lt'), 'lt-win1257' => array('lt|lithuanian', 'lithuanian-windows-1257', 'lt'), + 'lv-utf-8' => array('lv|latvian', 'latvian-utf-8', 'lv'), 'lv-win1257' => array('lv|latvian', 'latvian-windows-1257', 'lv'), + 'nl-utf-8' => array('nl([-_][[:alpha:]]{2})?|dutch', 'dutch-utf-8', 'nl'), 'nl-iso-8859-1'=> array('nl([-_][[:alpha:]]{2})?|dutch', 'dutch-iso-8859-1', 'nl'), + 'no-utf-8' => array('no|norwegian', 'norwegian-utf-8', 'no'), 'no-iso-8859-1'=> array('no|norwegian', 'norwegian-iso-8859-1', 'no'), + 'pl-utf-8' => array('pl|polish', 'polish-utf-8', 'pl'), 'pl-iso-8859-2'=> array('pl|polish', 'polish-iso-8859-2', 'pl'), - 'pt-br-utf-8' => array('pt[-_]br|brazilian portuguese', 'brazilian_portuguese-utf-8', 'pt-BR'), + 'pt-br-utf-8' => array('pt[-_]br|brazilian portuguese', 'brazilian_portuguese-utf-8', 'pt-BR'), 'pt-br-iso-8859-1' => array('pt[-_]br|brazilian portuguese', 'brazilian_portuguese-iso-8859-1', 'pt-BR'), + 'pt-utf-8' => array('pt([-_][[:alpha:]]{2})?|portuguese', 'portuguese-utf-8', 'pt'), 'pt-iso-8859-1'=> array('pt([-_][[:alpha:]]{2})?|portuguese', 'portuguese-iso-8859-1', 'pt'), + 'ro-utf-8' => array('ro|romanian', 'romanian-utf-8', 'ro'), 'ro-iso-8859-1'=> array('ro|romanian', 'romanian-iso-8859-1', 'ro'), + 'ru-utf-8' => array('ru|russian', 'russian-utf-8', 'ru'), 'ru-koi8-r' => array('ru|russian', 'russian-koi8-r', 'ru'), 'ru-win1251' => array('ru|russian', 'russian-windows-1251', 'ru'), + 'sk-utf-8' => array('sk|slovak', 'slovak-utf-8', 'sk'), 'sk-iso-8859-2'=> array('sk|slovak', 'slovak-iso-8859-2', 'sk'), 'sk-win1250' => array('sk|slovak', 'slovak-windows-1250', 'sk'), 'sq-utf-8' => array('sq|albanian', 'albanian-utf-8', 'sq'), 'sq-iso-8859-1'=> array('sq|albanian', 'albanian-iso-8859-1', 'sq'), + 'sr-utf-8' => array('sr|serbian', 'serbian-utf-8', 'sr'), 'sr-win1250' => array('sr|serbian', 'serbian-windows-1250', 'sr'), + 'sv-utf-8' => array('sv|swedish', 'swedish-utf-8', 'sv'), 'sv-iso-8859-1'=> array('sv|swedish', 'swedish-iso-8859-1', 'sv'), + 'th-utf-8' => array('th|thai', 'thai-utf-8', 'th'), 'th-tis-620' => array('th|thai', 'thai-tis-620', 'th'), + 'tr-utf-8' => array('tr|turkish', 'turkish-utf-8', 'tr'), 'tr-iso-8859-9'=> array('tr|turkish', 'turkish-iso-8859-9', 'tr'), + 'uk-utf-8' => array('uk|ukrainian', 'ukrainian-utf-8', 'uk'), 'uk-win1251' => array('uk|ukrainian', 'ukrainian-windows-1251', 'uk'), 'zh-tw-utf-8' => array('zh[-_]tw|chinese traditional', 'chinese_big5-utf-8', 'zh-TW'), 'zh-tw' => array('zh[-_]tw|chinese traditional', 'chinese_big5', 'zh-TW'), + 'zh-utf-8' => array('zh|chinese simplified', 'chinese_gb-utf-8', 'zh'), 'zh' => array('zh|chinese simplified', 'chinese_gb', 'zh') );