Default to utf8mb4

https://github.com/friendica/friendica/issues/3324
This commit is contained in:
Alexandre Alapetite 2017-04-12 16:49:05 +02:00
parent 0d2bf557de
commit 3500190e41
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ function update_structure($verbose, $action, $tables=null, $definition=null) {
if (isset($a->config["system"]["db_charset"])) { if (isset($a->config["system"]["db_charset"])) {
$charset = $a->config["system"]["db_charset"]; $charset = $a->config["system"]["db_charset"];
} else { } else {
$charset = "utf8"; $charset = "utf8mb4";
} }
$errors = false; $errors = false;