mirror of
https://github.com/php/php-src.git
synced 2025-01-20 18:53:37 +08:00
MFH:added Turkish language definition (related to bug #29955)
This commit is contained in:
parent
5c32e974aa
commit
b0ccd89450
@ -135,6 +135,12 @@ static const enum mbfl_no_encoding php_mb_default_identify_list_hy[] = {
|
||||
mbfl_no_encoding_armscii8
|
||||
};
|
||||
|
||||
static const enum mbfl_no_encoding php_mb_default_identify_list_tr[] = {
|
||||
mbfl_no_encoding_ascii,
|
||||
mbfl_no_encoding_utf8,
|
||||
mbfl_no_encoding_8859_9
|
||||
};
|
||||
|
||||
static const enum mbfl_no_encoding php_mb_default_identify_list_neut[] = {
|
||||
mbfl_no_encoding_ascii,
|
||||
mbfl_no_encoding_utf8
|
||||
@ -148,6 +154,7 @@ static const php_mb_nls_ident_list php_mb_default_identify_list[] = {
|
||||
{ mbfl_no_language_simplified_chinese, php_mb_default_identify_list_cn, sizeof(php_mb_default_identify_list_cn) / sizeof(php_mb_default_identify_list_cn[0]) },
|
||||
{ mbfl_no_language_russian, php_mb_default_identify_list_ru, sizeof(php_mb_default_identify_list_ru) / sizeof(php_mb_default_identify_list_ru[0]) },
|
||||
{ mbfl_no_language_armenian, php_mb_default_identify_list_hy, sizeof(php_mb_default_identify_list_hy) / sizeof(php_mb_default_identify_list_hy[0]) },
|
||||
{ mbfl_no_language_turkish, php_mb_default_identify_list_tr, sizeof(php_mb_default_identify_list_tr) / sizeof(php_mb_default_identify_list_tr[0]) },
|
||||
{ mbfl_no_language_neutral, php_mb_default_identify_list_neut, sizeof(php_mb_default_identify_list_neut) / sizeof(php_mb_default_identify_list_neut[0]) }
|
||||
};
|
||||
|
||||
@ -892,6 +899,9 @@ PHP_RINIT_FUNCTION(mbstring)
|
||||
case mbfl_no_language_armenian:
|
||||
default_enc = "ArmSCII-8";
|
||||
break;
|
||||
case mbfl_no_language_turkish:
|
||||
default_enc = "ISO-8859-9";
|
||||
break;
|
||||
case mbfl_no_language_english:
|
||||
default:
|
||||
default_enc = "ISO-8859-1";
|
||||
|
Loading…
Reference in New Issue
Block a user