diff options
| author | Marcus Boerger <helly@php.net> | 2002-08-27 14:57:09 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2002-08-27 14:57:09 +0000 |
| commit | a8027c1428d07bf832403b9ff428a769b4d41188 (patch) | |
| tree | 825fb00bc45b0c1da8d8f4bad80db627e507649f /ext/mbstring | |
| parent | e8b3e2abe7b59fd89a836e16ab5414d80e67a5b3 (diff) | |
| download | php-git-a8027c1428d07bf832403b9ff428a769b4d41188.tar.gz | |
Remove this nonsense - this makes the module unpredicable since we do
not have default values in ini and more encodings will follow.
Diffstat (limited to 'ext/mbstring')
| -rw-r--r-- | ext/mbstring/mbstring.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index 197ad3bc57..5982865517 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -662,31 +662,6 @@ php_mbstring_init_globals(zend_mbstring_globals *pglobals TSRMLS_DC) MBSTRG(current_language) = mbfl_no_language_english; MBSTRG(internal_encoding) = mbfl_no_encoding_8859_1; MBSTRG(current_internal_encoding) = mbfl_no_encoding_8859_1; - -#if defined(HAVE_MBSTR_CN) & !defined(HAVE_MBSTR_JA) - MBSTRG(language) = mbfl_no_language_simplified_chinese; - MBSTRG(current_language) = mbfl_no_language_simplified_chinese; - MBSTRG(internal_encoding) = mbfl_no_encoding_euc_cn; - MBSTRG(current_internal_encoding) = mbfl_no_encoding_euc_cn; -#endif -#if defined(HAVE_MBSTR_TW) & !defined(HAVE_MBSTR_JA) - MBSTRG(language) = mbfl_no_language_traditional_chinese; - MBSTRG(current_language) = mbfl_no_language_traditional_chinese; - MBSTRG(internal_encoding) = mbfl_no_encoding_euc_tw; - MBSTRG(current_internal_encoding) = mbfl_no_encoding_euc_tw; -#endif -#if defined(HAVE_MBSTR_KR) & !defined(HAVE_MBSTR_JA) - MBSTRG(language) = mbfl_no_language_korean; - MBSTRG(current_language) = mbfl_no_language_korean; - MBSTRG(internal_encoding) = mbfl_no_encoding_euc_kr; - MBSTRG(current_internal_encoding) = mbfl_no_encoding_euc_kr; -#endif -#if defined(HAVE_MBSTR_JA) - MBSTRG(language) = mbfl_no_language_japanese; - MBSTRG(current_language) = mbfl_no_language_japanese; - MBSTRG(internal_encoding) = mbfl_no_encoding_euc_jp; - MBSTRG(current_internal_encoding) = mbfl_no_encoding_euc_jp; -#endif #ifdef ZEND_MULTIBYTE MBSTRG(script_encoding_list) = NULL; MBSTRG(script_encoding_list_size) = 0; |
