#26964 [Ver->Asn]: htmlentities and html_entity_decode, left&right single quotation mark issues
| From: | moriyoshi@php.net | Date: | Tue, 20 Jan 2004 21:10:08 +0000 |
| Subject: | #26964 [Ver->Asn]: htmlentities and html_entity_decode, left&right single quotation mark issues | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-53657@lists.php.net to get a copy of this message | ||
ID: 26964
Updated by: moriyoshi@php.net
Reported By: paj at pearfr dot org
-Status: Verified
+Status: Assigned
Bug Type: Strings related
Operating System: *
PHP Version: 5CVS, 4CVS
-Assigned To:
+Assigned To: moriyoshi
New Comment:
This's most likely due to my error.
Assigning it to me.
Previous Comments:
------------------------------------------------------------------------
[2004-01-19 07:21:23] paj at pearfr dot org
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 this bug report at http://bugs.php.net/?id=26964&edit=1