From: [EMAIL PROTECTED] Operating system: linux 2.4.18 PHP version: 4.2.0 PHP Bug Type: Strings related Bug description: stristr is not case-insensitive with scandinavian alphabets
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 bug report at http://bugs.php.net/?id=17298&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17298&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17298&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17298&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17298&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17298&r=support Expected behavior: http://bugs.php.net/fix.php?id=17298&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17298&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17298&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17298&r=globals