note 68378 added to function.htmlentities

From: Date: Tue, 25 Jul 2006 05:39:45 +0000
Subject: note 68378 added to function.htmlentities
Groups: php.notes 
Request: Send a blank email to php-notes+get-115115@lists.php.net to get a copy of this message
In addition to Stefaano's note, it seems that htmlentities() works in php4 but not in php5. <?php // Some french chars, iso-8859-1 $txt=htmlentities("à â ä é è ê ë î ï ô ö ù û ü"); print($txt); ?> Results displayed at screen are the good ones in php4 but are wrong in php5. Firefox 1.5.0.4, Mac OSX. Michel ---- Server IP: 66.163.161.117 Probable Submitter: 82.224.28.41 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.htmlentities.php Edit -- http://master.php.net/note/edit/68378 Del: integrated -- http://master.php.net/note/delete/68378/integrated Del: useless -- http://master.php.net/note/delete/68378/useless Del: bad code -- http://master.php.net/note/delete/68378/bad+code Del: spam -- http://master.php.net/note/delete/68378/spam Del: non-english -- http://master.php.net/note/delete/68378/non-english Del: in docs -- http://master.php.net/note/delete/68378/in+docs Del: other reasons-- http://master.php.net/note/delete/68378 Reject -- http://master.php.net/note/reject/68378 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#115115) next »