This is how a regular expression filters Russian letters before requesting to the database
preg_match('/[а-яА-Я]+/', $_GET['q'], $q);
but there is some kind of glitch when entering the Cyrillic letter "p", looked at the values that the regulars gives
var_dump($q); var_dump($_GET['q']);
it turned out that the letter r is replaced with diamonds with a question inside. and p is buggy with any character set
why it happens?
u
flag in the regular season? - user207618