]> granicus.if.org Git - php/commitdiff
Fixed an issue that zend-multibyte's behaviour doesn't reflect the change
authorMoriyoshi Koizumi <moriyoshi@php.net>
Sun, 4 May 2003 13:11:30 +0000 (13:11 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Sun, 4 May 2003 13:11:30 +0000 (13:11 +0000)
to mbstring.internal_encoding ini setting.

ext/mbstring/mbstring.c

index b461a03fe50c12bdaa81aace6f84998841b46cc4..974a525e95530e8c37c78c1d93e0880d0d13eade 100644 (file)
@@ -576,6 +576,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;