ID:               29318
 Updated by:       [EMAIL PROTECTED]
 Reported By:      atlantisboydn at yougotmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         mbstring related
 Operating System: Windows XP SP1
 PHP Version:      5.0.0
 New Comment:

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


<?php
$escaped = html_entity_decode('&euro;a&auml;', 
ENT_QUOTES, 'UTF-8');
var_dump($escaped);
var_dump(mb_convert_encoding($escaped, 'HTML-ENTITIES', 
'UTF-8'));
?>

string(6) "€aä"
string(13) "&euro;a&auml;"

Works fine here.


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

[2004-07-22 11:08:55] atlantisboydn at yougotmail dot com

Description:
------------
The following script works fine with PHP 4.3.x, but the returned string
don't output in HTML-Entities format in PHP 5.0.0 

$str = mb_convert_encoding($str, "HTML-ENTITIES","UTF-8");



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


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

Reply via email to