Skip to content

Commit

Permalink
Fix UTF-8 support in our new Query Builder
Browse files Browse the repository at this point in the history
  • Loading branch information
allejo committed Feb 10, 2018
1 parent e678df9 commit 0682c18
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ public static function getInstance()
];
}

$config['charset'] = 'utf8';
$config['collation'] = 'utf8_unicode_ci';

Service::setQueryBuilderConfig($config);
}

Expand Down

0 comments on commit 0682c18

Please sign in to comment.