ID: 44617
Updated by: [EMAIL PROTECTED]
Reported By: dq2 at 55mail dot cc
-Status: Analyzed
+Status: Assigned
Bug Type: mbstring related
Operating System: winxp
PHP Version: 5.2.6RC3
Assigned To: moriyoshi
Previous Comments:
------------------------------------------------------------------------
[2008-04-02 16:20:58] dq2 at 55mail dot cc
oh converted :-(
> echo mb_convert_encoding('♥', 'sjis-win', 'utf-8');
this line '♥' means utf-8 heart mark. (equal &hearts)
------------------------------------------------------------------------
[2008-04-02 16:13:35] dq2 at 55mail dot cc
Description:
------------
want: ♥ or ♥
but
return ੩
Reproduce code:
---------------
mb_internal_encoding('utf-8');
mb_substitute_character('entity');
echo mb_convert_encoding('♥', 'sjis-win', 'utf-8');
Expected result:
----------------
♥
Actual result:
--------------
੩
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44617&edit=1