Skip to content

Commit

Permalink
Use the utf8mb4 character set in MySQL.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimeperez committed Jan 8, 2018
1 parent d1ff132 commit 1e4d42e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/sqlauth/lib/Auth/Source/SQL.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private function connect()
switch ($driver) {
case 'mysql':
/* Use UTF-8. */
$db->exec("SET NAMES 'utf8'");
$db->exec("SET NAMES 'utf8mb4'");
break;
case 'pgsql':
/* Use UTF-8. */
Expand Down

0 comments on commit 1e4d42e

Please sign in to comment.