note 69064 deleted from function.htmlentities by betz

From: Date: Tue, 22 Aug 2006 00:05:08 +0000
Subject: note 69064 deleted from function.htmlentities by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-116146@lists.php.net to get a copy of this message
Note Submitter: tuvai at tuvai.net ---- 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?

« previous php.notes (#116146) next »