Bug #17298 Updated: stristr is not case-insensitive with scandinavian alphabets
| From: | sniper@php.net | Date: | Fri, 17 May 2002 22:13:39 +0000 |
| Subject: | Bug #17298 Updated: stristr is not case-insensitive with scandinavian alphabets | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-7960@lists.php.net to get a copy of this message | ||
ID: 17298
Updated by: sniper@php.net
Reported By: hannu.maksimainen@edu.hel.fi
-Status: Open
+Status: Feedback
Bug Type: Strings related
Operating System: linux 2.4.18
PHP Version: 4.2.0
New Comment:
I can't reproduce this..it might be some locale issue.
Which linux distro?
--Jani
Previous Comments:
------------------------------------------------------------------------
[2002-05-17 18:04:34] hannu.maksimainen@edu.hel.fi
I have a string "There are Ä and ä in scandinavian alphabets".
I want stristr function to return everything after the first occurence
of "ä" (capital Ä in this case) in my script:
$str = "There are Ä and ä in scandinavian alphabets";
echo stristr($str, "ä");
It returns "ä in scandinavian alphabets".
It should return "Ä and ä in scandinavian alphabets".
--
With 'normal' alphabets it works ok. Like this:
$str = "There are B and b in scandinavian alphabets";
echo stristr($str, "b");
and it returns "B and b in scandinavian alphabets"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17298&edit=1