I tried with mysqli_set_charset("cp1251")
and with utf8
, not working.
I've tryed to insert string in sql like this htmlentities($str, ENT_QUOTES, "UTF-8");
and for accent letters working perfectly but for russian characters the result is like this Øóôóòèíñêèé Ìèõàèë.
Thanks.