Answer the question
In order to leave comments, you need to log in
Wordpress, when moving "???" instead of Russian letters, how to fix it?
Good afternoon! Something broke my head.
I'm moving my site from my hosting to someone else's.
On the site, data from the database is displayed in the form of question marks.
All database tables, all files, settings in utf-8. In .htaccess, I also added a couple of screenshots AddDefaultCharset utf-8
:
In the database, all lines are perfectly displayed in pure Russian.
Answer the question
In order to leave comments, you need to log in
Guys, I sat here, smoked, and this is what I came up with:
In the wp-config.php file , in the MySQL connection settings, instead of the usual UTF-8 encoding, the encoding was 'utf8mb4'
Changed the line to:
/** Кодировка базы данных для создания таблиц. */
define('DB_CHARSET', 'utf8');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question