From 7eaed349a2b55e94da55b1c41863e1cfed8095a7 Mon Sep 17 00:00:00 2001 From: Wolfgang Klinger Date: Fri, 9 Mar 2018 22:12:14 +0100 Subject: [PATCH] [BUGFIX] Set correct default connection charset "utf8" Resolves: #84180 Releases: master, 8.7 Change-Id: Id868d3f379d131c3a51e039e6a862e4dcabf2fda Reviewed-on: https://review.typo3.org/56081 Tested-by: TYPO3com Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Andreas Fernandez Tested-by: Andreas Fernandez --- typo3/sysext/core/Classes/Database/ConnectionPool.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/core/Classes/Database/ConnectionPool.php b/typo3/sysext/core/Classes/Database/ConnectionPool.php index 58a8c2ff5157..bfc42a3c4bc0 100644 --- a/typo3/sysext/core/Classes/Database/ConnectionPool.php +++ b/typo3/sysext/core/Classes/Database/ConnectionPool.php @@ -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