From: Moriyoshi Koizumi Date: Sun, 4 May 2003 13:12:26 +0000 (+0000) Subject: MFH(r-1.174): fixed an issue that zend-multibyte's behaviour doesn't reflect the... X-Git-Tag: php-4.3.2RC3~99 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c52b97c89f69b3beeff314c92e8d2f9a5aa6c9f7;p=php MFH(r-1.174): 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 445f1c7c51..3846f0c701 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -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;