M
M
Mark2017-09-21 11:35:50
MySQL
Mark, 2017-09-21 11:35:50

How to fix incorrect encoding on the site?

The database displays text instead of Russian like this ГДавнаÑ
There is no access to SSH.
And there are questions on the website.
Tell me how to fix?
If you edit in the admin panel, then the norms are preserved, but there is a lot of text to manually shovel

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Boris Korobkov, 2017-09-21
@BorisKorobkov

In the script, every time after connecting to the database, you must executeset names utf8

M
Mark, 2017-09-22
@Mark54

Already fixed it myself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question