Bug #51490 [Opn->Asn]: html_entity_encode() doesn't work with windows-1251
| From: | felipe@php.net | Date: | Wed, 21 Apr 2010 23:46:08 +0000 |
| Subject: | Bug #51490 [Opn->Asn]: html_entity_encode() doesn't work with windows-1251 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-149765@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51490&edit=1
ID: 51490
Updated by: felipe@php.net
Reported by: sandel at ukr dot net
Summary: html_entity_encode() doesn't work with windows-1251
-Status: Open
+Status: Assigned
Type: Bug
Package: *Spelling functions
Operating System: linux SuSE 11.2
PHP Version: 5.3.2
-Assigned To:
+Assigned To: moriyoshi
Previous Comments:
------------------------------------------------------------------------
[2010-04-06 23:20:51] sandel at ukr dot net
Description:
------------
html_entity_encode() doesn't work with windows-1251 with php 5.3.2....
BUT!!!! It works with latest PHP 5.2.X
Test script:
---------------
<?php
echo html_entity_decode( "Çàÿâêà",
ENT_QUOTES, 'cp1251');
// output will be Çàÿâêà
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51490&edit=1