Edit report at https://bugs.php.net/bug.php?id=60675&edit=1

 ID:                 60675
 Comment by:         dani...@php.net
 Reported by:        dani...@php.net
 Summary:            htmlentities(ENT_COMPAT, windows-1251) for
                     ISO-8859-1 encoded scripts
 Status:             Open
 Type:               Bug
 Package:            *General Issues
 Operating System:   ubuntu 10.0.4 / lucid
 PHP Version:        5.4SVN-2012-01-06 (SVN)
 Block user comment: N
 Private report:     N

 New Comment:

The test script is in PHP_5_4 and trunk as
ext/standard/tests/strings/bug60675.phpt


Previous Comments:
------------------------------------------------------------------------
[2012-01-06 22:09:36] dani...@php.net

Automatic comment from SVN on behalf of danielc
Revision: http://svn.php.net/viewvc/?view=revision&revision=321841
Log: Test for bug 60675.

------------------------------------------------------------------------
[2012-01-06 22:08:47] dani...@php.net

Automatic comment from SVN on behalf of danielc
Revision: http://svn.php.net/viewvc/?view=revision&revision=321840
Log: Test for bug 60675.

------------------------------------------------------------------------
[2012-01-06 21:58:01] dani...@php.net

Description:
------------
The behavior htmlentities() (or PHP's parser/whatever) has changed between 5.3 
and 5.4.  I will put a phpt file in svn once the bug number is known.

Test script:
---------------
$in = 'Òåñòèðóåì';
echo htmlentities($in, ENT_COMPAT, 'windows-1251');


Expected result:
----------------
Тестируем

Actual result:
--------------
illegible


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60675&edit=1

Reply via email to