|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-05-11 09:27 UTC] jani@php.net
[2009-05-11 12:24 UTC] root at 80sec dot com
[2009-05-11 13:08 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 19:00:01 2025 UTC |
Description: ------------ xml_utf8_decode function incorrectly decode. Reproduce code: --------------- <?php $ill=chr(0xf0).chr(0xc0).chr(0xc0).chr(0xa7); $ill=addslashes($ill); echo utf8_decode("$ill"); echo htmlspecialchars ($ill,ENT_QUOTES,"utf-8" ); ?> Expected result: ---------------- it will output a "'" incorrectly. Actual result: -------------- it will output a "'" incorrectly.