Answer the question
In order to leave comments, you need to log in
How to change the encoding in the database?
How to change encoding in phpmyadmin database to utf-8?
SET NAMES doesn't help.
Answer the question
In order to leave comments, you need to log in
After moving from one hosting to another, there was a problem: the output of question marks instead of Cyrillic. Decided like this in the output (php file):
mysql_query("SET NAMES cp1251");
mysql_query("SET COLLATION_CONNECTION=cp_1251");
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question