From 0e5fcbd0d448844b780c6feed1c3edda0b144a60 Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Mon, 27 Jan 2014 18:07:28 +0100 Subject: [PATCH] force utf8 encoding in install process --- core/lib/Thelia/Command/Install.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/lib/Thelia/Command/Install.php b/core/lib/Thelia/Command/Install.php index 71c97e9a1..4cff782ad 100644 --- a/core/lib/Thelia/Command/Install.php +++ b/core/lib/Thelia/Command/Install.php @@ -227,6 +227,7 @@ class Install extends ContainerAwareCommand $connectionInfo["username"], $connectionInfo["password"] ); + $connection->query('SET NAMES \'UTF8\''); } catch (\PDOException $e) { $output->writeln(array( "Wrong connection information"