Problem with codepage

asked Mar 27, 2016 by anonymous
I have a problem with codepage. If I paste russian words in header or description it looks correct. But if I edit text again russian text looks like this attached picture https://dl.dropboxusercontent.com/u/54535368/009.jpg

Any idea?

MySQL-server-5.5.43-alt0.M70P.1
apache2-base-2.2.24-alt3
php-base-2.7-alt3

1 Answer

answered Mar 28, 2016 by Pavel.g (4,600 points)
Hello barl0g.

Please provide what encoding you have a database and tables?

Regards, Pavel.
commented Mar 28, 2016 by barl0g (100 points)
utf8_unicode_ci.
Russian text saved in a database correct. I checked it in phpmyadmin. Problem showing if I try edit text again.
commented Mar 28, 2016 by Pavel.g (4,600 points)
What has default charset you used in Apache?
commented Mar 29, 2016 by barl0g (100 points)
Павел, спасибо!
Помогла директива в настройках apache:
AddDefaultCharset               utf-8
commented Mar 29, 2016 by Pavel.g (4,600 points)
Пожалуйста. Рад был помочь.
...