ID:               17298
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-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] [EMAIL PROTECTED]

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

Reply via email to