Minor - refactor code.

1.9.x
Julio Montoya 11 years ago
parent 94cc40956c
commit 8761afab54
  1. 168
      main/inc/lib/internationalization_database/name_order_conventions.php
  2. 162
      main/inc/lib/internationalization_database/non_utf8_encodings.php

@ -7,7 +7,7 @@
* The following table contains two types of conventions concerning person names:
*
* "format" - determines how a full person name to be formatted, i.e. in what order the title, the first_name and the last_name to be placed.
* You maight need to correct the value for your language. The possible values are:
* You might need to correct the value for your language. The possible values are:
* title first_name last_name - Western order;
* title last_name first_name - Eastern order;
* title last_name, first_name - Western libraries order.
@ -19,90 +19,90 @@
* last_name - sorting names with priority for the last name.
*/
return array(
'afrikaans' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'albanian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'alemannic' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'amharic' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'armenian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'arabic' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'asturian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'bosnian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'brazilian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'breton' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'bulgarian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'catalan' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'croatian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'czech' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'danish' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'dari' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'dutch' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'english' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'esperanto' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'estonian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'basque' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'finnish' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'french' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'frisian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'friulian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'galician' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'georgian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'german' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'greek' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'hawaiian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'hebrew' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'hindi' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'hungarian' => array( 'format' => 'title last_name first_name', 'sort_by' => 'last_name' ), // Eastern order
'icelandic' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'indonesian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'irish' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'italian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'japanese' => array( 'format' => 'title last_name first_name', 'sort_by' => 'last_name' ), // Eastern order
'korean' => array( 'format' => 'title last_name first_name', 'sort_by' => 'last_name' ), // Eastern order
'latin' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'latvian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'lithuanian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'macedonian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'malay' => array( 'format' => 'title last_name first_name', 'sort_by' => 'last_name' ), // Eastern order
'manx' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'marathi' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'middle_frisian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'mingo' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'nepali' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'norwegian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'occitan' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'pashto' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'persian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'polish' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'portuguese' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'quechua_cusco' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'romanian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'rumantsch' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'russian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'sanskrit' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'serbian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'serbian_cyrillic' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'simpl_chinese' => array( 'format' => 'title last_name first_name', 'sort_by' => 'last_name' ), // Eastern order
'slovak' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'slovenian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'afrikaans' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'albanian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'alemannic' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'amharic' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'armenian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'arabic' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'asturian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'bosnian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'brazilian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'breton' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'bulgarian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'catalan' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'croatian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'czech' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'danish' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'dari' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'dutch' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'english' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'esperanto' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'estonian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'basque' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'finnish' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'french' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'frisian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'friulian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'galician' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'georgian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'german' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'greek' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'hawaiian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'hebrew' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'hindi' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'hungarian' => array('format' => 'title last_name first_name', 'sort_by' => 'last_name'), // Eastern order
'icelandic' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'indonesian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'irish' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'italian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'japanese' => array('format' => 'title last_name first_name', 'sort_by' => 'last_name'), // Eastern order
'korean' => array('format' => 'title last_name first_name', 'sort_by' => 'last_name'), // Eastern order
'latin' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'latvian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'lithuanian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'macedonian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'malay' => array('format' => 'title last_name first_name', 'sort_by' => 'last_name'), // Eastern order
'manx' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'marathi' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'middle_frisian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'mingo' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'nepali' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'norwegian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'occitan' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'pashto' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'persian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'polish' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'portuguese' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'quechua_cusco' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'romanian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'rumantsch' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'russian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'sanskrit' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'serbian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'serbian_cyrillic' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'simpl_chinese' => array('format' => 'title last_name first_name', 'sort_by' => 'last_name' ), // Eastern order
'slovak' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'slovenian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
//'spanish' => array( 'format' => 'title first_name last_name', 'sort_by' => 'last_name' ),
//'spanish' => array( 'format' => 'title last_name first_name', 'sort_by' => 'last_name' ),
//'spanish' => array( 'format' => 'title first_name last_name', 'sort_by' => 'last_name'),
//'spanish' => array( 'format' => 'title last_name first_name', 'sort_by' => 'last_name'),
// Some experimental settings for Spanish language:
//'spanish' => array( 'format' => 'title first_name LAST_NAME', 'sort_by' => 'first_name' ), // Western order, last name is uppercase when a full name is assembled
//'spanish' => array( 'format' => 'title first_name LAST_NAME', 'sort_by' => 'last_name' ), // Western order, last name is uppercase when a full name is assembled
'spanish' => array( 'format' => 'title last_name, first_name', 'sort_by' => 'last_name' ), // Library order
//'spanish' => array( 'format' => 'title LAST_NAME, first_name', 'sort_by' => 'last_name' ), // Library order, last name is uppercase when a full name is assembled
//'spanish' => array( 'format' => 'title first_name LAST_NAME', 'sort_by' => 'first_name'), // Western order, last name is uppercase when a full name is assembled
//'spanish' => array( 'format' => 'title first_name LAST_NAME', 'sort_by' => 'last_name'), // Western order, last name is uppercase when a full name is assembled
'spanish' => array( 'format' => 'title last_name, first_name', 'sort_by' => 'last_name'), // Library order
//'spanish' => array( 'format' => 'title LAST_NAME, first_name', 'sort_by' => 'last_name'), // Library order, last name is uppercase when a full name is assembled
'swahili' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'swedish' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'tagalog' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'tamil' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'thai' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'trad_chinese' => array( 'format' => 'title last_name first_name', 'sort_by' => 'last_name' ), // Eastern order
'turkish' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'ukrainian' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'vietnamese' => array( 'format' => 'title last_name first_name', 'sort_by' => 'last_name' ), // Eastern order
'welsh' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'yiddish' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' ),
'yoruba' => array( 'format' => 'title first_name last_name', 'sort_by' => 'first_name' )
'swahili' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'swedish' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'tagalog' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'tamil' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'thai' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'trad_chinese' => array('format' => 'title last_name first_name', 'sort_by' => 'last_name'), // Eastern order
'turkish' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'ukrainian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'vietnamese' => array('format' => 'title last_name first_name', 'sort_by' => 'last_name'), // Eastern order
'welsh' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'yiddish' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
'yoruba' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name')
);

@ -10,85 +10,85 @@
* Put the probably most used for your language encoding at the first place.
*/
return array(
'afrikaans' => array('ISO-8859-15', 'WINDOWS-1252'),
'albanian' => array('ISO-8859-15', 'WINDOWS-1252'),
'alemannic' => array('ISO-8859-15', 'WINDOWS-1252'),
'amharic' => array(),
'armenian' => array('ARMSCII-8'),
'arabic' => array('WINDOWS-1256', 'ISO-8859-6'),
'asturian' => array('ISO-8859-15', 'WINDOWS-1252'),
'belarusian' => array('WINDOWS-1251', 'ISO-8859-5'),
'bosnian' => array('WINDOWS-1250', 'ISO-8859-2'),
'brazilian' => array('ISO-8859-15', 'WINDOWS-1252'),
'breton' => array('ISO-8859-15', 'WINDOWS-1252'),
'bulgarian' => array('WINDOWS-1251', 'ISO-8859-5', 'KOI8-R'),
'catalan' => array('ISO-8859-15', 'WINDOWS-1252'),
'croatian' => array('WINDOWS-1250', 'ISO-8859-2'),
'czech' => array('WINDOWS-1250', 'ISO-8859-2'),
'danish' => array('ISO-8859-15', 'WINDOWS-1252'),
'dari' => array(),
'dutch' => array('ISO-8859-15', 'WINDOWS-1252'),
'english' => array('ISO-8859-15', 'WINDOWS-1252'),
'esperanto' => array('ISO-8859-3'),
'estonian' => array('WINDOWS-1257', 'ISO-8859-13', 'ISO-8859-15'),
'basque' => array('ISO-8859-15', 'WINDOWS-1252'),
'finnish' => array('ISO-8859-15', 'WINDOWS-1252'),
'french' => array('ISO-8859-15', 'WINDOWS-1252'),
'frisian' => array('ISO-8859-15', 'WINDOWS-1252'),
'friulian' => array('ISO-8859-15', 'WINDOWS-1252'),
'galician' => array('ISO-8859-15', 'WINDOWS-1252'),
'georgian' => array('GEORGIAN-ACADEMY', 'GEORGIAN-PS'),
'german' => array('ISO-8859-15', 'WINDOWS-1252'),
'greek' => array('WINDOWS-1253', 'ISO-8859-7'),
'hawaiian' => array(),
'hebrew' => array('ISO-8859-8', 'WINDOWS-1255'),
'hindi' => array(),
'hungarian' => array('WINDOWS-1250', 'ISO-8859-2'),
'icelandic' => array('ISO-8859-15', 'WINDOWS-1252'),
'indonesian' => array('ISO-8859-15', 'WINDOWS-1252'),
'irish' => array('ISO-8859-15', 'WINDOWS-1252'),
'italian' => array('ISO-8859-15', 'WINDOWS-1252'),
'japanese' => array('EUC-JP', 'ISO-2022-JP', 'SHIFT-JIS'),
'korean' => array('EUC-KR', 'ISO-2022-KR', 'CP949'),
'latin' => array('ISO-8859-15', 'WINDOWS-1252'),
'latvian' => array('WINDOWS-1257', 'ISO-8859-13'),
'lithuanian' => array('WINDOWS-1257', 'ISO-8859-13'),
'macedonian' => array('WINDOWS-1251'),
'malay' => array('ISO-8859-15', 'WINDOWS-1252'),
'manx' => array('ISO-8859-15', 'WINDOWS-1252'),
'marathi' => array(),
'middle_frisian' => array('ISO-8859-15', 'WINDOWS-1252'),
'mingo' => array('ISO-8859-15', 'WINDOWS-1252'),
'nepali' => array(),
'norwegian' => array('ISO-8859-15', 'WINDOWS-1252'),
'occitan' => array('ISO-8859-15', 'WINDOWS-1252'),
'pashto' => array(),
'persian' => array(),
'polish' => array('WINDOWS-1250', 'ISO-8859-2'),
'portuguese' => array('ISO-8859-15', 'WINDOWS-1252'),
'quechua_cusco' => array('ISO-8859-15', 'WINDOWS-1252'),
'romanian' => array('WINDOWS-1250', 'ISO-8859-2'),
'rumantsch' => array(),
'russian' => array('KOI8-R', 'WINDOWS-1251'),
'sanskrit' => array(),
'scots' => array('ISO-8859-15', 'WINDOWS-1252'),
'scots_gaelic' => array('ISO-8859-15', 'WINDOWS-1252'),
'serbian' => array('WINDOWS-1250', 'ISO-8859-2'),
'serbian_cyrillic' => array('WINDOWS-1251'),
'simpl_chinese' => array('GB2312', 'WINDOWS-936'),
'slovak' => array('WINDOWS-1250', 'ISO-8859-2'),
'slovenian' => array('WINDOWS-1250', 'ISO-8859-2'),
'spanish' => array('ISO-8859-15', 'WINDOWS-1252'),
'swahili' => array('ISO-8859-15', 'WINDOWS-1252'),
'swedish' => array('ISO-8859-15', 'WINDOWS-1252'),
'tagalog' => array(),
'tamil' => array(),
'thai' => array('WINDOWS-874', 'ISO-8859-11'),
'trad_chinese' => array('BIG-5', 'EUC-TW'),
'turkish' => array('WINDOWS-1254', 'ISO-8859-9'),
'ukrainian' => array('KOI8-U'),
'vietnamese' => array('WINDOWS-1258'),
'welsh' => array('ISO-8859-15', 'WINDOWS-1252'),
'yiddish' => array(),
'yoruba' => array('ISO-8859-15', 'WINDOWS-1252')
'afrikaans' => array('ISO-8859-15', 'WINDOWS-1252'),
'albanian' => array('ISO-8859-15', 'WINDOWS-1252'),
'alemannic' => array('ISO-8859-15', 'WINDOWS-1252'),
'amharic' => array(),
'armenian' => array('ARMSCII-8'),
'arabic' => array('WINDOWS-1256', 'ISO-8859-6'),
'asturian' => array('ISO-8859-15', 'WINDOWS-1252'),
'belarusian' => array('WINDOWS-1251', 'ISO-8859-5'),
'bosnian' => array('WINDOWS-1250', 'ISO-8859-2'),
'brazilian' => array('ISO-8859-15', 'WINDOWS-1252'),
'breton' => array('ISO-8859-15', 'WINDOWS-1252'),
'bulgarian' => array('WINDOWS-1251', 'ISO-8859-5', 'KOI8-R'),
'catalan' => array('ISO-8859-15', 'WINDOWS-1252'),
'croatian' => array('WINDOWS-1250', 'ISO-8859-2'),
'czech' => array('WINDOWS-1250', 'ISO-8859-2'),
'danish' => array('ISO-8859-15', 'WINDOWS-1252'),
'dari' => array(),
'dutch' => array('ISO-8859-15', 'WINDOWS-1252'),
'english' => array('ISO-8859-15', 'WINDOWS-1252'),
'esperanto' => array('ISO-8859-3'),
'estonian' => array('WINDOWS-1257', 'ISO-8859-13', 'ISO-8859-15'),
'basque' => array('ISO-8859-15', 'WINDOWS-1252'),
'finnish' => array('ISO-8859-15', 'WINDOWS-1252'),
'french' => array('ISO-8859-15', 'WINDOWS-1252'),
'frisian' => array('ISO-8859-15', 'WINDOWS-1252'),
'friulian' => array('ISO-8859-15', 'WINDOWS-1252'),
'galician' => array('ISO-8859-15', 'WINDOWS-1252'),
'georgian' => array('GEORGIAN-ACADEMY', 'GEORGIAN-PS'),
'german' => array('ISO-8859-15', 'WINDOWS-1252'),
'greek' => array('WINDOWS-1253', 'ISO-8859-7'),
'hawaiian' => array(),
'hebrew' => array('ISO-8859-8', 'WINDOWS-1255'),
'hindi' => array(),
'hungarian' => array('WINDOWS-1250', 'ISO-8859-2'),
'icelandic' => array('ISO-8859-15', 'WINDOWS-1252'),
'indonesian' => array('ISO-8859-15', 'WINDOWS-1252'),
'irish' => array('ISO-8859-15', 'WINDOWS-1252'),
'italian' => array('ISO-8859-15', 'WINDOWS-1252'),
'japanese' => array('EUC-JP', 'ISO-2022-JP', 'SHIFT-JIS'),
'korean' => array('EUC-KR', 'ISO-2022-KR', 'CP949'),
'latin' => array('ISO-8859-15', 'WINDOWS-1252'),
'latvian' => array('WINDOWS-1257', 'ISO-8859-13'),
'lithuanian' => array('WINDOWS-1257', 'ISO-8859-13'),
'macedonian' => array('WINDOWS-1251'),
'malay' => array('ISO-8859-15', 'WINDOWS-1252'),
'manx' => array('ISO-8859-15', 'WINDOWS-1252'),
'marathi' => array(),
'middle_frisian' => array('ISO-8859-15', 'WINDOWS-1252'),
'mingo' => array('ISO-8859-15', 'WINDOWS-1252'),
'nepali' => array(),
'norwegian' => array('ISO-8859-15', 'WINDOWS-1252'),
'occitan' => array('ISO-8859-15', 'WINDOWS-1252'),
'pashto' => array(),
'persian' => array(),
'polish' => array('WINDOWS-1250', 'ISO-8859-2'),
'portuguese' => array('ISO-8859-15', 'WINDOWS-1252'),
'quechua_cusco' => array('ISO-8859-15', 'WINDOWS-1252'),
'romanian' => array('WINDOWS-1250', 'ISO-8859-2'),
'rumantsch' => array(),
'russian' => array('KOI8-R', 'WINDOWS-1251'),
'sanskrit' => array(),
'scots' => array('ISO-8859-15', 'WINDOWS-1252'),
'scots_gaelic' => array('ISO-8859-15', 'WINDOWS-1252'),
'serbian' => array('WINDOWS-1250', 'ISO-8859-2'),
'serbian_cyrillic' => array('WINDOWS-1251'),
'simpl_chinese' => array('GB2312', 'WINDOWS-936'),
'slovak' => array('WINDOWS-1250', 'ISO-8859-2'),
'slovenian' => array('WINDOWS-1250', 'ISO-8859-2'),
'spanish' => array('ISO-8859-15', 'WINDOWS-1252'),
'swahili' => array('ISO-8859-15', 'WINDOWS-1252'),
'swedish' => array('ISO-8859-15', 'WINDOWS-1252'),
'tagalog' => array(),
'tamil' => array(),
'thai' => array('WINDOWS-874', 'ISO-8859-11'),
'trad_chinese' => array('BIG-5', 'EUC-TW'),
'turkish' => array('WINDOWS-1254', 'ISO-8859-9'),
'ukrainian' => array('KOI8-U'),
'vietnamese' => array('WINDOWS-1258'),
'welsh' => array('ISO-8859-15', 'WINDOWS-1252'),
'yiddish' => array(),
'yoruba' => array('ISO-8859-15', 'WINDOWS-1252')
);

Loading…
Cancel
Save