]> git.mxchange.org Git - friendica.git/commitdiff
Default to utf8mb4
authorAlexandre Alapetite <alexandre@alapetite.fr>
Wed, 12 Apr 2017 14:49:05 +0000 (16:49 +0200)
committerAlexandre Alapetite <alexandre@alapetite.fr>
Wed, 12 Apr 2017 14:49:05 +0000 (16:49 +0200)
https://github.com/friendica/friendica/issues/3324

include/dbstructure.php

index 48cc02d2d1dda64fd72bd5e51bd36db06c2719f0..b2f61eec01c534b289f142d84a2743b42ac8da82 100644 (file)
@@ -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;