From: Alexandre Alapetite Date: Wed, 12 Apr 2017 14:49:05 +0000 (+0200) Subject: Default to utf8mb4 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3500190e41b4dc94cf67a126e063a8960b0c3b78;p=friendica.git Default to utf8mb4 https://github.com/friendica/friendica/issues/3324 --- diff --git a/include/dbstructure.php b/include/dbstructure.php index 48cc02d2d1..b2f61eec01 100644 --- a/include/dbstructure.php +++ b/include/dbstructure.php @@ -154,7 +154,7 @@ function update_structure($verbose, $action, $tables=null, $definition=null) { if (isset($a->config["system"]["db_charset"])) { $charset = $a->config["system"]["db_charset"]; } else { - $charset = "utf8"; + $charset = "utf8mb4"; } $errors = false;