#34724 [Fbk->Opn]: Unexpected output
| From: | tv at net4you dot bg | Date: | Tue, 04 Oct 2005 06:44:12 +0000 |
| Subject: | #34724 [Fbk->Opn]: Unexpected output | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-85972@lists.php.net to get a copy of this message | ||
ID: 34724
User updated by: tv at net4you dot bg
Reported By: tv at net4you dot bg
-Status: Feedback
+Status: Open
Bug Type: Strings related
Operating System: Windows XP/Apache 2.0.54
PHP Version: 5.1.0RC1
New Comment:
Using the latest snapshot (PHP/5.1.0RC2-dev Server) did not solve my
problem. The result remain unchanged.
Previous Comments:
------------------------------------------------------------------------
[2005-10-04 08:28:03] sniper@php.net
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
------------------------------------------------------------------------
[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