I
I
Ivan Kondratiev2015-07-12 13:43:33
MySQL
Ivan Kondratiev, 2015-07-12 13:43:33

Why does the encoding crash when saving to the database, symfony2?

All good. Found a problem. Everything was fine locally. Now I transferred the project to the hosting and in the database (MySql) the Cyrillic alphabet turned into this .
описание страници
But when I display it on the page, the text is displayed normally
описание страницы
. Files and database are in utf-8.
Please tell me how to solve this problem. Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vyachin, 2015-07-12
@vyachin

your tables have a character set other than utf-8 dev.mysql.com/doc/refman/5.1/en/charset-table.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question