diff --git a/src/Persister/PDO/MysqlPersister.php b/src/Persister/PDO/MysqlPersister.php index d20870f..6afd5b8 100644 --- a/src/Persister/PDO/MysqlPersister.php +++ b/src/Persister/PDO/MysqlPersister.php @@ -47,7 +47,8 @@ protected function getConnection() try { $dsn = $this->config['driver'] . ':host=' . $this->config['host'] - . ';dbname=' . $this->config['database']; + . ';dbname=' . $this->config['database'] + . ';charset=utf8'; $this->conn = new PDO($dsn, $this->config['username'], $this->config['password']); $this->conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);