[BUGFIX] Set correct default connection charset "utf8" 86/56086/2
authorWolfgang Klinger <wolfgang@wazum.com>
Fri, 9 Mar 2018 21:12:14 +0000 (22:12 +0100)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Fri, 9 Mar 2018 22:01:19 +0000 (23:01 +0100)
Resolves: #84180
Releases: master, 8.7
Change-Id: Id868d3f379d131c3a51e039e6a862e4dcabf2fda
Reviewed-on: https://review.typo3.org/56086
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/core/Classes/Database/ConnectionPool.php

index 98f478c..191afb8 100644 (file)
@@ -127,7 +127,7 @@ class ConnectionPool
     {
         // 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