Dovresti provare uno di questi:
1.) usando mysql_set_charset('utf8', $dbconn); invece di mysql_query() come mostrato in https://php.net /manual/it/function.mysql-set-charset.php
2.) usa query("set names utf8"); come suggerito in SET NAMES utf8 in MySQL?