From ed07668b2e3c3cc26773d99bd7e342c0eee15354 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Sat, 8 Apr 2023 14:54:55 +0200 Subject: [PATCH] Database: connect using utf8mb4 --- models/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/Database.php b/models/Database.php index 48df3ec..3d5cb4c 100644 --- a/models/Database.php +++ b/models/Database.php @@ -38,7 +38,7 @@ class Database exit; } - $this->query('SET NAMES {string:utf8}', ['utf8' => 'utf8']); + $this->query('SET NAMES {string:utf8mb4}', ['utf8mb4' => 'utf8mb4']); } public function getQueryCount()