|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-01-16 21:03 UTC] jani@php.net
[2010-01-16 21:09 UTC] hlegius at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 08:00:02 2025 UTC |
Description: ------------ strtolower encoding problem in UTF-8 mode at Windows 7. Reproduce code: --------------- <?php echo strtolower("H?LIO"); // returns: h�lio (error) echo strtoupper("h?lio"); // returns H?LIO (ok) ?> Expected result: ---------------- <?php // expected results echo strtolower("H?LIO"); // returns: h?lio echo strtoupper("h?lio"); // returns H?LIO ?> Actual result: -------------- <?php echo strtolower("H?LIO"); // returns: h�lio (error) echo strtoupper("h?lio"); // returns H?LIO (ok) ?>