cvs: php4 /ext/mbstring mbstring.c

From: Date: Sun, 04 May 2003 13:11:30 +0000
Subject: cvs: php4 /ext/mbstring mbstring.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20677@lists.php.net to get a copy of this message
moriyoshi Sun May 4 09:11:30 2003 EDT Modified files: /php4/ext/mbstring mbstring.c Log: 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.173 php4/ext/mbstring/mbstring.c:1.174 --- php4/ext/mbstring/mbstring.c:1.173 Thu May 1 17:08:31 2003 +++ php4/ext/mbstring/mbstring.c Sun May 4 09:11:30 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: mbstring.c,v 1.173 2003/05/01 21:08:31 iliaa Exp $ */ +/* $Id: mbstring.c,v 1.174 2003/05/04 13:11:30 moriyoshi Exp $ */ /* * PHP4 Multibyte String module "mbstring" @@ -576,6 +576,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;

« previous php.cvs (#20677) next »