ID: 34724 Updated by: [EMAIL PROTECTED] Reported By: tv at net4you dot bg -Status: Open +Status: Feedback Bug Type: Strings related Operating System: Windows XP/Apache 2.0.54 PHP Version: 5.1.0RC1 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-10-04 08:22:51] tv at net4you dot bg Description: ------------ i have problem with converting cyrillic string to lower. Sorry you need to set page encoding to Windows-1251 to see the strings. Here is a screenshot if you can`t see the screen: http://www.net4you.bg/temp/tempimg.jpg Reproduce code: --------------- <?php //The string in uc; $string = 'ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÜÚÞß'; print "Actual uc string: $string<br>"; //Convert the string to lower print "Result: ".(strtolower($string))."<br>"; //Should produce "àáâãäåæçèéêëìíîïðñòóôõö÷øùüúþÿ" //Actual output "àáâãäåæçèéêëìíîïðñòóôõö×øùüúþß" print 'Expected: àáâãäåæçèéêëìíîïðñòóôõö÷øùüúþÿ'; ?> Expected result: ---------------- àáâãäåæçèéêëìíîïðñòóôõö÷øùüúþÿ Actual result: -------------- àáâãäåæçèéêëìíîïðñòóôõö×øùüúþß ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34724&edit=1
