From da5dc01de31c57753527975fbc1f3c040b972910 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sun, 25 Jan 2026 11:20:57 +0100 Subject: [PATCH] No need to specify charset in connection string and then set it explicitly using "SET NAMES" again Signed-off-by: Sven Strickroth --- functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.inc.php b/functions.inc.php index 50d1f292..442bf224 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -1505,7 +1505,7 @@ function db_connection_string() $dsn .= ";port={$CONF['database_port']}"; } - $dsn .= ";dbname={$database_name};charset=UTF8"; + $dsn .= ";dbname={$database_name}"; } elseif (db_sqlite()) { $db = $CONF['database_name'];