ID: 27626 Updated by: [EMAIL PROTECTED] Reported By: phpbugs at staznosti dot sk -Status: Open +Status: Closed Bug Type: Strings related Operating System: win PHP Version: Irrelevant New Comment:
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 http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. This is fixed in PHP 5. Previous Comments: ------------------------------------------------------------------------ [2004-03-17 10:05:12] phpbugs at staznosti dot sk Description: ------------ html_entity_decode() shows error: Warning: cannot yet handle MBCS in html_entity_decode()! in ..... problems with the following entities: ľ č ť ľ I guess it crashes also with other ones... UTF-8 is set as character set regarding connection to: Bug #25670 - proposed solution doesn't work - characters displayed are not those sent in form field!!! http://bugs.php.net/bug.php?id=25670&edit=2 php version 4.3.3 (irrelevant in this case) Reproduce code: --------------- $this->filename="ľ hello world, but it's not so happy shouting today" echo html_entity_decode($this->filename,ENT_NOQUOTES,'UTF-8'); Expected result: ---------------- to get entity converted to applicable character Actual result: -------------- Warning: cannot yet handle MBCS in html_entity_decode()! in c:\www\absolut\admin\classengine.php on line 335 Warning: cannot yet handle MBCS in html_entity_decode()! in c:\www\absolut\admin\classengine.php on line 335 Warning: cannot yet handle MBCS in html_entity_decode()! in c:\www\absolut\admin\classengine.php on line 335 Warning: cannot yet handle MBCS in html_entity_decode()! in c:\www\absolut\admin\classengine.php on line 335 Warning: cannot yet handle MBCS in html_entity_decode()! in c:\www\absolut\admin\classengine.php on line 335 Warning: cannot yet handle MBCS in html_entity_decode()! in c:\www\absolut\admin\classengine.php on line 335 Warning: cannot yet handle MBCS in html_entity_decode()! in c:\www\absolut\admin\classengine.php on line 335 Warning: cannot yet handle MBCS in html_entity_decode()! in c:\www\absolut\admin\classengine.php on line 335 Warning: cannot yet handle MBCS in html_entity_decode()! in c:\www\absolut\admin\classengine.php on line 335 Warning: cannot yet handle MBCS in html_entity_decode()! in c:\www\absolut\admin\classengine.php on line 335 Warning: cannot yet handle MBCS in html_entity_decode()! in c:\www\absolut\admin\classengine.php on line 335 Warning: cannot yet handle MBCS in html_entity_decode()! in c:\www\absolut\admin\classengine.php on line 335 Warning: cannot yet handle MBCS in html_entity_decode()! in c:\www\absolut\admin\classengine.php on line 335 Warning: cannot yet handle MBCS in html_entity_decode()! in c:\www\absolut\admin\classengine.php on line 335 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27626&edit=1
