Bug #51490 [Asn->Opn]: html_entity_encode() doesn't work with windows-1251
| From: | kalle@php.net | Date: | Tue, 24 Oct 2017 06:33:07 +0000 |
| Subject: | Bug #51490 [Asn->Opn]: html_entity_encode() doesn't work with windows-1251 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-212004@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=51490&edit=1
ID: 51490
Updated by: kalle@php.net
Reported by: sandel at ukr dot net
Summary: html_entity_encode() doesn't work with windows-1251
-Status: Assigned
+Status: Open
Type: Bug
Package: *Spelling functions
Operating System: linux SuSE 11.2
PHP Version: 5.3.2
-Assigned To: moriyoshi
+Assigned To:
Block user comment: N
Private report: N
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 https://bugs.php.net/bug.php?id=51490&edit=1