ID: 44617
User updated by: dq2 at 55mail dot cc
Reported By: dq2 at 55mail dot cc
Status: Open
Bug Type: mbstring related
Operating System: winxp
PHP Version: 5.2.6RC3
New Comment:
oh converted :-(
> echo mb_convert_encoding('♥', 'sjis-win', 'utf-8');
this line '♥' means utf-8 heart mark. (equal &hearts)
Previous Comments:
------------------------------------------------------------------------
[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