|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-10-01 09:15 UTC] dcz at phpbb-seo dot com
Description: ------------ I just ran into the same bug with php5.3 as described here : http://bugs.php.net/bug.php?id=48697 (php5.2.10) parse_str still alter mb_internal_encoding Reproduce code: --------------- <?php mb_internal_encoding('utf-8'); echo mb_internal_encoding()."<br/>"; parse_str('a=1&b=2'); echo mb_internal_encoding()."<br/>"; ?> Expected result: ---------------- UTF-8 UTF-8 Actual result: -------------- UTF-8 ISO-8859-1 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 23 17:00:02 2025 UTC |
Forgot to mention : ini_set("mbstring.internal_encoding", 'UTF-8'); fixes the issue the same way it did for php5.2.10