ID: 28495 User updated by: hpaulit at arcor dot de Reported By: hpaulit at arcor dot de Status: Bogus Bug Type: *Languages/Translation Operating System: Mac OS X 10.3/10.2 PHP Version: 4.3.4 New Comment:
This is not a bug ? what else is a bug ? I only want to get correct displayed names regardless wether solution make this. $arg="M�ller & M�der"; $output=htmlentities($arg); // $output as result per definition of function htmlentities() should be: Müller & Mäder or Müller & Mäder and nothing else like M�ller & M�der Thank You Herbert Paulitsch Previous Comments: ------------------------------------------------------------------------ [2004-05-23 15:39:50] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ [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üller & Mäder should be M�ller & M�der on the website ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28495&edit=1
