Skip to content

Commit

Permalink
Ensure utf8
Browse files Browse the repository at this point in the history
  • Loading branch information
joostfaassen committed Nov 2, 2018
1 parent b49c47d commit 1891eec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Connector.php
Expand Up @@ -79,6 +79,7 @@ public function getPdoDsn(Config $config, $mode = 'db')
if ($mode=='db') {
$pdoDsn .= 'dbname=' . $config->getName() . ';';
}
$pdoDsn .= 'charset=utf8;';
break;
case 'sqlite':
$pdoDsn .= $config->getName() . ';';
Expand Down

0 comments on commit 1891eec

Please sign in to comment.