ID: 37477 Comment by: bitagenda at gmail dot com Reported By: d dot gourgues at neuf dot fr Status: No Feedback Bug Type: Strings related Operating System: Debian PHP Version: 5.1.4 New Comment:
Add to this problem that ERROR htmlentities expects at most 3 parameters, 4 given This is in PHP Version 5.2.0-8+etch10 (Debian) a php BUG of course Previous Comments: ------------------------------------------------------------------------ [2006-06-28 01:00:02] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2006-06-20 14:47:06] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip ------------------------------------------------------------------------ [2006-05-17 15:31:21] d dot gourgues at neuf dot fr Description: ------------ Hi, I've some expression in database in UTF8. When i try to use the htmlentities functions ex : htmlentities("zoo...", ENT_QUOTES, "UTF-8"); the script returns sometimes nothing. PS : I've tested on a PHP 5.1.2-1.dotdeb.2 (and i can't upgrade at work)... i will try at home with a PHP 5.1.4 version Reproduce code: --------------- // works always $str = " "; echo htmlentities(html_entity_decode ("ζωολογικός".$str."κήπος/πάρκο", ENT_QUOTES, "UTF-8"), ENT_QUOTES, "UTF-8"); // works sometimes $str = " "; echo htmlentities(html_entity_decode ("ζωολογικός".$str."κήπος/πάρκο", ENT_QUOTES, "UTF-8"), ENT_QUOTES, "UTF-8"); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37477&edit=1