Question: |
Hello,the question Arose in the process of migrating a website from old hosting to your. Could you help?Copied the files, imported the database and adjusted the config file. Everything works fine but in the admin of our cms (we use cms status-x) check your work with the Cyrillic alphabet gives an error, here is a screenshot:http://gyazo.com/d8cfacf4495627708c3206f04abc9f66хотя on the site do not notice the problem with the Cyrillic alphabet.Tell me what it can be connected and how to fix it? |
Answer: |
Hello. In what encoding the data? in civility 8 encoding |
Question: |
The database encoding cp1251 |
Answer: |
what is the database name? |
Question: |
evmangro_database1 |
Answer: |
do you have database encoding is latin1_swedish_ci. you need to clean the database, change the encoding and upload the dump again |
Question: |
Thank you very much for the help!) now correct |
Answer: |
the phpmyadmin menu operation - comparison, then you choose kodirovka the default database. TVM now you have Swedish characters |
Question: |
The encoding has changed, but the problem unfortunately remains. This is a screenshot of the tables in phpmyadmin at the previous хостингеhttp://gyazo.com/486eee675565cef934fcc2bd65e7c282тут seen that table in different encodings, can be the reason? |
Answer: |
the encoding should be one. encoding latin1 Cyrillic symbols there is a Latin encoding. all data must be in one encoding. as well you why it is comparison of utf8, utf8 and 1251 it is mostly incompatible with the structure of the encoding, utf8 encoding is the two kolerovka against single-byte ANSI encoding 1251 |
Question: |
Please tell me you have supported the it_it locale.CP1251 |
Answer: |
of course # locale-a | grep ru_RU ru_RU ru_RU.cp1251 ru_RU.iso88595 ru_RU.koi8r ru_RU.utf8 |
Question: |
when you install a cms gives this error http://gyazo.com/2b380c5adf1583afac2a11b5c44aa154не prompt, in what could be the reason and how to fix it? |
Answer: |
but the locale is please Check now. |
Question: |
Now everything works and Cyrillic encoding in order) thank you very much!) |
Answer: |
OK
|
Question: |
again the problem with locale, please check again the same as for 26.07 in this correspondence |
Answer: |
the locale is present # locale-a | grep ru_RU ru_RU ru_RU.cp1251 ru_RU.iso88595 ru_RU.koi8r ru_RU.utf8 |
Question: |
Thanks, it worked) |
Answer: |
OK
|