Edit report at http://bugs.php.net/bug.php?id=51490&edit=1
ID: 51490 Updated by: [email protected] 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
