ID:               32063
 Updated by:       [EMAIL PROTECTED]
 Reported By:      webmaster at reddi dot de
-Status:           Open
+Status:           Closed
 Bug Type:         mbstring related
 Operating System: linux
 PHP Version:      5.0.3
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2005-02-22 10:37:47] webmaster at reddi dot de

Description:
------------
if to_encoding is UTF-8
and from_encoding is HTML-ENTITIES,
mb_convert_encoding leaves named entity 'alpha' unconverted.

This is pesky!




Reproduce code:
---------------
<?php
  $a= '&Alpha;&Beta;&alpha;&beta;' ;
  echo mb_convert_encoding ($a, 'utf-8', 'HTML-ENTITIES');
?>


Expected result:
----------------
ΑΒαβ

Actual result:
--------------
ΑΒ&alpha;β


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


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

Reply via email to