Skip to content
This repository has been archived by the owner on Jun 16, 2018. It is now read-only.

Commit

Permalink
More UTF-8.
Browse files Browse the repository at this point in the history
  • Loading branch information
skreutzer committed Apr 8, 2017
1 parent 8bfa0fe commit 684eba6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/install/install.php
@@ -1,5 +1,5 @@
<?php
/* Copyright (C) 2013-2016 Christian Huke, Stephan Kreutzer
/* Copyright (C) 2013-2017 Christian Huke, Stephan Kreutzer
*
* This file is part of automated_digital_publishing_server.
*
Expand Down Expand Up @@ -280,7 +280,7 @@
"\n".
"try\n".
"{\n".
" \$pdo = @new PDO('mysql:host=".$host.";dbname=".$database.";charset=utf8', \"".$username."\", \"".$password."\");\n".
" \$pdo = @new PDO('mysql:host=".$host.";dbname=".$database.";charset=utf8', \"".$username."\", \"".$password."\", array(PDO::MYSQL_ATTR_INIT_COMMAND => \"SET NAMES utf8\"));\n".
"}\n".
"catch (PDOException \$ex)\n".
"{\n".
Expand Down

0 comments on commit 684eba6

Please sign in to comment.