hi,
i've a search-form, which already works very well. but as soon as a user tries to search for a word, containing an umlaut (ä = ä, etc.) the function strpos doesnt work any longer.
i tried the following:
if $search is the value of the search-textfield, containung an ü (ü😉
$p = strpos ($search, "ü");
echo "POS: $p";
$p is simply empty. another test with str_replace:
$search = str_replace ("ü", "an umlaut", $search);
in this case, the string does not change. are these characters encoded in some way?
thanks in advance for your advice
kind regards
stefan