note 69064 added to function.htmlentities

From: Date: Mon, 21 Aug 2006 23:53:01 +0000
Subject: note 69064 added to function.htmlentities
Groups: php.notes 
Request: Send a blank email to php-notes+get-116139@lists.php.net to get a copy of this message
For some reason, htmlentities() does not change the Euro sign from € to €. Now I know there are plenty of other ways to achieve this, even by using a simple str_replace(), but isn't htmlentities() supposed to be doing this? The ISO-8859-15 charset seems to be especially added for the Euro sign and French/Finnish letters, and I included that charset declaration in my htmlentities()` third parameter as well. Still, € just stays €. Bug? ---- Server IP: 194.109.193.119 Probable Submitter: 84.28.209.146 ---- X-Spam-Status: Yes, hits=7.4 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER, HEAD_ILLEGAL_CHARS autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.htmlentities.php Edit -- https://master.php.net/note/edit/69064 Del: integrated -- https://master.php.net/note/delete/69064/integrated Del: useless -- https://master.php.net/note/delete/69064/useless Del: bad code -- https://master.php.net/note/delete/69064/bad+code Del: spam -- https://master.php.net/note/delete/69064/spam Del: non-english -- https://master.php.net/note/delete/69064/non-english Del: in docs -- https://master.php.net/note/delete/69064/in+docs Del: other reasons-- https://master.php.net/note/delete/69064 Reject -- https://master.php.net/note/reject/69064 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#116139) next »