From: Moriyoshi Koizumi Date: Sun, 4 May 2003 13:11:30 +0000 (+0000) Subject: Fixed an issue that zend-multibyte's behaviour doesn't reflect the change X-Git-Tag: RELEASE_0_9b~112 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9111e0f9b5103e3010b96babd3589566cf36f49;p=php Fixed an issue that zend-multibyte's behaviour doesn't reflect the change to mbstring.internal_encoding ini setting. --- diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index b461a03fe5..974a525e95 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -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;