mysql SET CHARACTER SET utf8

This commit is contained in:
Xenomporio 2022-05-16 14:13:07 +02:00
parent 5b95c48cbe
commit 2fa5758f26

View File

@ -72,7 +72,7 @@ class DB{
mysqli_select_db($this->connection,$dbname); mysqli_select_db($this->connection,$dbname);
mysqli_query($this->connection, "SET NAMES 'utf8'"); mysqli_query($this->connection, "SET NAMES 'utf8'");
mysqli_query($this->connection, "SET SESSION SQL_MODE := ''"); mysqli_query($this->connection, "SET SESSION SQL_MODE := ''");
mysqli_query($this->connection, "SET CHARACTER_SET 'utf8'"); mysqli_query($this->connection, "SET CHARACTER SET 'utf8'");
mysqli_query($this->connection, 'SET lc_time_names = "de_DE" '); mysqli_query($this->connection, 'SET lc_time_names = "de_DE" ');
mysqli_query($this->connection, 'SET SQL_BIG_SELECTS=1'); mysqli_query($this->connection, 'SET SQL_BIG_SELECTS=1');
} }