Answer the question
In order to leave comments, you need to log in
Why doesn't SET NAMES 'utf8' work?
At the beginning of the script, I ran the following queries:
$pdo_link->query("SET NAMES 'utf8'");
$pdo_link->query("SET CHARACTER SET 'utf8'");
$pdo_link->query("SET SESSION collation_connection = 'utf8mb4_unicode_ci'");
$pdo_link->query("SET NAMES 'utf8'");
$pdo_link->query("INSERT INTO `names` SET `name` = 'Поехали'");
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question