$db->query("SET NAMES 'utf8'");
$db->query('SET CHARACTER SET utf8');