Скрипт изменения кодировки при запросе в БД

mysql_query(“SET NAMES ‘utf8′”); mysql_query(“SET collation_connection=’utf8_general_ci’”); mysql_query(“SET collation_server=’utf8_general_ci’”); mysql_query(“SET character_set_client=’utf8′”); mysql_query(“SET character_set_connection=’utf8′”); mysql_query(“SET character_set_results=’utf8′”); mysql_query(“SET character_set_server=’utf8′”);