]> granicus.if.org Git - php/commitdiff
MFH(r-1.174): fixed an issue that zend-multibyte's behaviour doesn't reflect the...
authorMoriyoshi Koizumi <moriyoshi@php.net>
Sun, 4 May 2003 13:12:26 +0000 (13:12 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Sun, 4 May 2003 13:12:26 +0000 (13:12 +0000)
ext/mbstring/mbstring.c

index 445f1c7c510f10bd9cb477dfca9bae81b0325b33..3846f0c7010a2b6792700ea9d2af5e0e7c608aa5 100644 (file)
@@ -639,6 +639,9 @@ static PHP_INI_MH(OnUpdate_mbstring_internal_encoding)
                        p++;
                }
 #endif
+#ifdef ZEND_MULTIBYTE
+               zend_multibyte_set_internal_encoding(new_value, new_value_length TSRMLS_CC);
+#endif /* ZEND_MULTIBYTE */
        } else {
                if (new_value != NULL && new_value_length > 0) {
                        return FAILURE;