我想在phpmyadmin的表中存储俄语字母。 我尝试过代码:
$conn = mysqli_connect($db_server, $db_benutzer, $db_passwort, $db_name);
mysqli_query($conn, "SET names 'utf8'")
mysqli_query($conn, "INSERT INTO `names`(`id`, `russia`) VALUES (NULL,'Скотобойное')")
mysqli_close($conn);
在phpmyadmin的表格中,我得到了'?????????'
谢谢