I am using the stripos function to check if a string is located inside another string, ignoring any cases.
Here is the problem:
stripos(\"ø\", \"Ø\")
You need mb_stripos.