I use the stripos function to check if a string is inside another string, ignoring any cases.
Here is the problem:
stripos("ΓΈ", "Γ")
returns false. While
stripos("Γ", "Γ")
returns true.
As you can see, it seems that in this case the function does NOT do case insensitive search.
The function has the same problems with characters like ΓΓ¦ and Γ
Γ₯. These are Danish characters.
php string-search strpos
foens
source share