Bug #66484 [Opn->Fbk]: doube encoding in html_entities()
| From: | requinix@php.net | Date: | Tue, 14 Jan 2014 18:28:44 +0000 |
| Subject: | Bug #66484 [Opn->Fbk]: doube encoding in html_entities() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-183788@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66484&edit=1
ID: 66484
Updated by: requinix@php.net
Reported by: spam2 at rhsoft dot net
Summary: doube encoding in html_entities()
-Status: Open
+Status: Feedback
Type: Bug
Package: Scripting Engine problem
PHP Version: 5.5.8
Block user comment: N
Private report: N
New Comment:
Go into your database and look at the value directly. I bet you it has
Hasta ve Ãalışan Güvenliği
Previous Comments:
------------------------------------------------------------------------
[2014-01-14 10:39:32] spam2 at rhsoft dot net
Description:
------------
Input: Hasta ve ÃalıÅan GüvenliÄi
Output: Hasta ve Çalışan Güvenliği
ı must be ı
Test script:
---------------
htmlentities($text, ENT_QUOTES, 'ISO8859-1');
$text comes from a MySQL database
yes, i know that this must not be handeled with ISO-8859-1
but that is no reason for double entities at all
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66484&edit=1