Closed pylscblt-test closed 2 years ago
SQL statements to execute
ALTER DATABASE topseven CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci;
ALTER TABLE forum CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE forum MODIFY comment TEXT CHARSET utf8mb4;
SQL connection charset to change
$charset = "utf8mb4";
$pdo = new PDO("mysql:dbname=$database;host=$server;charset=$charset", $user, $password);
Pas de retours ! C'est OK.