From 3500190e41b4dc94cf67a126e063a8960b0c3b78 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 12 Apr 2017 16:49:05 +0200 Subject: [PATCH] Default to utf8mb4 https://github.com/friendica/friendica/issues/3324 --- include/dbstructure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;