导出前 mysql_query("set names utf8");当然,实际情况可能更复杂,还得看数据库本身的编码建议看mysql 的 系统变量mysql> show variables like "%charset%";