首先检查 文件 数据库 以及
$dbh->exec("SET NAMES 'GBK'"); 设置情况
如果还不行的话 那就试试这个偏方
$st = "INSERT INTO `test` (`id`, `tname`, `tid`) VALUES (NULL, '呵呵322211', '54');";
$sql = unicode_encode($st,"GBK");
$ss = $this->dbdrive()->exec($sql);
重点 unicode_encode 这个函数。