force utf8 encoding in install process

This commit is contained in:
Manuel Raynaud
2014-01-27 18:07:28 +01:00
parent 4713c18eaa
commit 0e5fcbd0d4

View File

@@ -227,6 +227,7 @@ class Install extends ContainerAwareCommand
$connectionInfo["username"],
$connectionInfo["password"]
);
$connection->query('SET NAMES \'UTF8\'');
} catch (\PDOException $e) {
$output->writeln(array(
"<error>Wrong connection information</error>"