cvs: php4(PHP_4_3) /ext/mbstring mbstring.c
| From: | Moriyoshi Koizumi | Date: | Sun, 04 May 2003 13:12:26 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/mbstring mbstring.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20678@lists.php.net to get a copy of this message | ||
moriyoshi Sun May 4 09:12:26 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/mbstring mbstring.c
Log:
MFH(r-1.174): fixed an issue that zend-multibyte's behaviour doesn't reflect the change
to mbstring.internal_encoding ini setting.
Index: php4/ext/mbstring/mbstring.c
diff -u php4/ext/mbstring/mbstring.c:1.142.2.14 php4/ext/mbstring/mbstring.c:1.142.2.15
--- php4/ext/mbstring/mbstring.c:1.142.2.14 Thu May 1 17:08:47 2003
+++ php4/ext/mbstring/mbstring.c Sun May 4 09:12:26 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mbstring.c,v 1.142.2.14 2003/05/01 21:08:47 iliaa Exp $ */
+/* $Id: mbstring.c,v 1.142.2.15 2003/05/04 13:12:26 moriyoshi Exp $ */
/*
* PHP4 Multibyte String module "mbstring"
@@ -639,6 +639,9 @@
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;