From: paj at pearfr dot org Operating system: Irrelevant PHP version: 5CVS-2004-01-19 (dev) PHP Bug Type: Strings related Bug description: htmlentities and html_entity_decode, left&right single quotation mark issues
Description: ------------ Left and right single quotation (’ and ‘) are not converted correctly (or not recognized). Encode and decode fails. Reproduce code: --------------- $str = "Guide de l�utilisateur"; echo htmlentities($str); Expected result: ---------------- Guide de l’utilisateur Actual result: -------------- Guide de l´utilisateur -- Edit bug report at http://bugs.php.net/?id=26964&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26964&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26964&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26964&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26964&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26964&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=26964&r=needscript Try newer version: http://bugs.php.net/fix.php?id=26964&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26964&r=support Expected behavior: http://bugs.php.net/fix.php?id=26964&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26964&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26964&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26964&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26964&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26964&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26964&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26964&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26964&r=float
