aboutsummaryrefslogtreecommitdiffstats
path: root/install/db/85-database.php
diff options
context:
space:
mode:
Diffstat (limited to 'install/db/85-database.php')
-rw-r--r--install/db/85-database.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/install/db/85-database.php b/install/db/85-database.php
index 97ed40f8a..16496abc1 100644
--- a/install/db/85-database.php
+++ b/install/db/85-database.php
@@ -36,6 +36,11 @@ CREATE TABLE ".PREFIX_TABLE."themes (
PRIMARY KEY (`id`)
)";
+if (DB_CHARSET == 'utf8')
+{
+ $query .= " DEFAULT CHARACTER SET utf8";
+}
+
pwg_query($query);
echo