#28495 [Opn->Bgs]: htmlentities() has no effect

From: Date: Sun, 23 May 2004 13:39:51 +0000
Subject: #28495 [Opn->Bgs]: htmlentities() has no effect
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-59909@lists.php.net to get a copy of this message
ID: 28495 Updated by: moriyoshi@php.net Reported By: hpaulit at arcor dot de -Status: Open +Status: Bogus Bug Type: *Languages/Translation Operating System: Mac OS X 10.3/10.2 PHP Version: 4.3.4 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Consult the relevant documentations at http:// www.php.net/docs Previous Comments: ------------------------------------------------------------------------ [2004-05-23 08:16:32] hpaulit at arcor dot de Description: ------------ I have a problem with the function htmlentities(). the function has no effect. Data in = Data out Please Help me Reproduce code: --------------- Here the listing: <?php $firma=" Müller & Mäder "; echo "$firma without htmlentities<br>"; $firma=htmlentities($firma); echo "$firma with htmlentities"; ?> Expected result: ---------------- output on the Website: MŸller & M·der without htmlentities MŸller & M·der with htmlentities - Output should be: M&uuml;ller &amp; M&auml;der should be Müller & Mäder on the website ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28495&edit=1

« previous php.bugs (#59909) next »