Skip to content

Commit

Permalink
Merge pull request #1011 from cakephp/dereuromark-patch-1
Browse files Browse the repository at this point in the history
Utf8mb4 by default
  • Loading branch information
markstory committed Jul 26, 2024
2 parents 4efbb63 + 5b6b6f0 commit 0e90947
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
/*
* For MariaDB/MySQL the internal default changed from utf8 to utf8mb4, aka full utf-8 support
*/
//'encoding' => 'utf8mb4',
'encoding' => 'utf8mb4',

/*
* If your MySQL server is configured with `skip-character-set-client-handshake`
Expand Down Expand Up @@ -326,7 +326,7 @@
'driver' => Mysql::class,
'persistent' => false,
'timezone' => 'UTC',
//'encoding' => 'utf8mb4',
'encoding' => 'utf8mb4',
'flags' => [],
'cacheMetadata' => true,
'quoteIdentifiers' => false,
Expand Down

0 comments on commit 0e90947

Please sign in to comment.