在 ThinkDbDriver.class.php 中 line 103
$this->linkID[$linkNum] = new PDO( $config['dsn'], $config['username'], $config['password'],$this->options);
后面加
$this->linkID[$linkNum]->query('set names utf8');
在 ThinkDbDriver.class.php 中 line 103
$this->linkID[$linkNum] = new PDO( $config['dsn'], $config['username'], $config['password'],$this->options);
后面加
$this->linkID[$linkNum]->query('set names utf8');