Skip to content

Commit

Permalink
[BUGFIX] Set correct default connection charset "utf8"
Browse files Browse the repository at this point in the history
Resolves: #84180
Releases: master, 8.7
Change-Id: Id868d3f379d131c3a51e039e6a862e4dcabf2fda
Reviewed-on: https://review.typo3.org/56081
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
  • Loading branch information
wazum authored and andreaskienast committed Mar 9, 2018
1 parent d2c0ea7 commit 7eaed34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typo3/sysext/core/Classes/Database/ConnectionPool.php
Expand Up @@ -124,7 +124,7 @@ protected function getDatabaseConnection(array $connectionParams): Connection
{
// Default to UTF-8 connection charset
if (empty($connectionParams['charset'])) {
$connectionParams['charset'] = 'utf-8';
$connectionParams['charset'] = 'utf8';
}

// Force consistent handling of binary objects across datbase platforms
Expand Down

0 comments on commit 7eaed34

Please sign in to comment.