#28495 [NEW]: htmlentities() has no effect
| From: | hpaulit at arcor dot de | Date: | Sun, 23 May 2004 06:16:34 +0000 |
| Subject: | #28495 [NEW]: htmlentities() has no effect | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-59902@lists.php.net to get a copy of this message | ||
From: hpaulit at arcor dot de
Operating system: Mac OS X 10.3/10.2
PHP version: 4.3.4
PHP Bug Type: *Languages/Translation
Bug description: htmlentities() has no effect
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:
Mller & M·der without htmlentities
Mller & M·der with htmlentities -
Output should be: Müller & Mäder
should be Müller & Mäder on the website
--
Edit bug report at http://bugs.php.net/?id=28495&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28495&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28495&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28495&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28495&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28495&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28495&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28495&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28495&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28495&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28495&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28495&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28495&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28495&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28495&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28495&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28495&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28495&r=float