summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2003-05-04 13:12:26 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2003-05-04 13:12:26 +0000
commitc52b97c89f69b3beeff314c92e8d2f9a5aa6c9f7 (patch)
treebd9772fd7d8c66799724b8d7a0ed13989535a181
parentf63177b075ff5310a41dd59e351466b270560f16 (diff)
downloadphp-git-c52b97c89f69b3beeff314c92e8d2f9a5aa6c9f7.tar.gz
MFH(r-1.174): fixed an issue that zend-multibyte's behaviour doesn't reflect the change to mbstring.internal_encoding ini setting.
-rw-r--r--ext/mbstring/mbstring.c3
1 files changed, 3 insertions, 0 deletions
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;