utf 8 - PHP and MySQLi UTF8
Just in case you use "json_encode" in your code, for example:
json_encode($rows);
simply change it to:
json_encode($rows,JSON_UNESCAPED_UNICODE);
Please replace mysql_set_charset('utf8');
to $mysqli->set_charset("utf8")
:-)
or mysqli_set_charset($this->mysqli,"utf8");
mysqli_set_charset($conn,"utf8");