|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32063 mb_convert_encoding ignores named entity 'alpha'
Submitted: 2005-02-22 10:37 UTC Modified: 2005-02-22 11:10 UTC
From: webmaster at reddi dot de Assigned:
Status: Closed Package: mbstring related
PHP Version: 5.0.3 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: webmaster at reddi dot de
New email:
PHP Version: OS:


 [2005-02-22 10:37 UTC] webmaster at reddi dot de
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:
  $a= '&Alpha;&Beta;&alpha;&beta;' ;
  echo mb_convert_encoding ($a, 'utf-8', 'HTML-ENTITIES');

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-22 11:10 UTC]
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
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Oct 04 17:03:58 2022 UTC