|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2008-04-02 16:13 UTC] 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:
--------------
੩
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 15:00:01 2025 UTC |
oh converted :-( > echo mb_convert_encoding('♥', 'sjis-win', 'utf-8'); this line '♥' means utf-8 heart mark. (equal &hearts)