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:
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 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

Reply via email to