force utf8 encoding in install process
This commit is contained in:
@@ -227,6 +227,7 @@ class Install extends ContainerAwareCommand
|
|||||||
$connectionInfo["username"],
|
$connectionInfo["username"],
|
||||||
$connectionInfo["password"]
|
$connectionInfo["password"]
|
||||||
);
|
);
|
||||||
|
$connection->query('SET NAMES \'UTF8\'');
|
||||||
} catch (\PDOException $e) {
|
} catch (\PDOException $e) {
|
||||||
$output->writeln(array(
|
$output->writeln(array(
|
||||||
"<error>Wrong connection information</error>"
|
"<error>Wrong connection information</error>"
|
||||||
|
|||||||
Reference in New Issue
Block a user