ID:               17298
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Feedback
 Bug Type:         Strings related
 Operating System: linux 2.4.18
 PHP Version:      4.2.0
 New Comment:

Mandrake 7.2 with kernel 2.4.18
apache 2.0.35
php 4.2.0

I also tested this with my friend's server and it didn't work there
either. He has Debian Linux (2.4.16 kernel) with apache 1.3.23 and php
4.1.2.


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

[2002-05-17 18:13:38] [EMAIL PROTECTED]

I can't reproduce this..it might be some locale issue.
Which linux distro?

--Jani


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

[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