ID:               24359
 Comment by:       c dot leborgne at yahoo dot fr
 Reported By:      daniel at adsdigita dot com dot br
 Status:           No Feedback
 Bug Type:         Strings related
 Operating System: Windows / Linux
 PHP Version:      4.3.3
 New Comment:

I'm french on unix and PHP 4.2.3
 and I got the same bug whith this function

but, it works if you do :

$val = " NUMÉRO ";
$tab=array("É" => "é", ..........);
$str =  strtolower(strtr($val,$tab));

voila c est fini :)


Previous Comments:
------------------------------------------------------------------------

[2003-09-18 14:46:36] [EMAIL PROTECTED]

Verified with 4.3.3 and german umlauts:

strtolower("SÜDSTADT") results in "sÜdstadt"

------------------------------------------------------------------------

[2003-07-02 22:17:27] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2003-06-27 10:05:31] [EMAIL PROTECTED]

Works fine here:

[EMAIL PROTECTED] derick]$ php
<?php
echo strtolower("É"); 
?>
é

Did you select the correct locale with setlocale() ?

------------------------------------------------------------------------

[2003-06-27 09:54:37] daniel at adsdigita dot com dot br

Description:
------------
So,

I leave in Brazil and in our language we have
de caracter "É" (means IS in English), the matter of
fact is: strtolower couldn't work in this caracter ("É") to change it
in "é"




Reproduce code:
---------------
//Example:
echo strtolower("É"); 


Expected result:
----------------
é

Actual result:
--------------
É


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24359&edit=1

Reply via email to