|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-01-16 23:31 UTC] jani@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 09:00:01 2025 UTC |
Description: ------------ mb_strtolower issue when send a UTF-8 string. Reproduce code: --------------- <?php echo mb_strtolower("H?LIO"); // returns: h�lio (error) echo mb_strtoupper("h?lio"); // returns H?LIO (ok) ?> Expected result: ---------------- <?php // expected results echo mb_strtolower("H?LIO"); // returns: h?lio echo mb_strtoupper("h?lio"); // returns H?LIO ?> Actual result: -------------- <?php echo mb_strtolower("H?LIO"); // returns: h�lio (error) echo mb_strtoupper("h?lio"); // returns H?LIO (ok) ?>