]> granicus.if.org Git - php/commitdiff
These changes seems to have bad effect on htmlentities().
authorMoriyoshi Koizumi <moriyoshi@php.net>
Sun, 10 Nov 2002 19:05:51 +0000 (19:05 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Sun, 10 Nov 2002 19:05:51 +0000 (19:05 +0000)
Remove it.

ext/mbstring/mbstring.c

index 6a2e261f906e12425367cbb65d3daf778d010d55..f12ba36b4036ca5d95da6e571367f3ab953b6fde 100644 (file)
@@ -82,8 +82,6 @@
 MUTEX_T mbregex_locale_mutex = NULL;
 #endif
 
-#define PHP_MB_DEFAULT_ENCODING "ISO-8859-1"
-
 /* {{{ php_mbstr_default_identify_list[] */
 #if defined(HAVE_MBSTR_JA)
 static const enum mbfl_no_encoding php_mbstr_default_identify_list[] = {
@@ -734,7 +732,7 @@ PHP_INI_BEGIN()
         PHP_INI_ENTRY("mbstring.detect_order", NULL, PHP_INI_ALL, OnUpdate_mbstring_detect_order)
         PHP_INI_ENTRY("mbstring.http_input", NULL, PHP_INI_ALL, OnUpdate_mbstring_http_input)
         PHP_INI_ENTRY("mbstring.http_output", NULL, PHP_INI_ALL, OnUpdate_mbstring_http_output)
-        PHP_INI_ENTRY("mbstring.internal_encoding", PHP_MB_DEFAULT_ENCODING, PHP_INI_ALL, OnUpdate_mbstring_internal_encoding)
+        PHP_INI_ENTRY("mbstring.internal_encoding", NULL, PHP_INI_ALL, OnUpdate_mbstring_internal_encoding)
 #ifdef ZEND_MULTIBYTE
         PHP_INI_ENTRY("mbstring.script_encoding", NULL, PHP_INI_ALL, OnUpdate_mbstring_script_encoding)
 #endif /* ZEND_MULTIBYTE */