B
B
blackbb2016-04-05 11:57:06
MySQL
blackbb, 2016-04-05 11:57:06

mysql encoding problem?

Hello. The essence of the problem is as follows, there is a site on modx revo www.inzhecom.com , one fine day the pages of the site disappeared. In phpmyadmin I saw that the site_content table responsible for the pages is not available. I had to make a backup of the database (fortunately it is done every day). But now the problem is, in some places on the site, instead of the letter "and" a square with a question, for example, in the title of the site, in the footer and in the search form. config.inc.php says $database_connection_charset = 'cp1251'; If you put utf-8, then everything is in the questions. By the way, the database also contains all Russian characters in the questions. What could it be?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
blackbb, 2016-04-05
@blackbb

Question removed. I recoded the dump file to utf-8 and it helped.

A
Andrey Abdin, 2016-04-05
@Fiesta

Imported means already in the wrong coding. Try importing with cp1251

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question