The problem with the encoding. What if the data from the database are displayed in the form of questions?
Good time of day. The data from the database are displayed here in this form ?????? ? ????? ?429?????? ?
See via phpmyadmin that the fields encoded in utf8_unicode_ci is a if you know the encoding with mb_detect_encoding, it shows utf-8 files in utf-8 without BOM.
in HTML ordered
- and so ordered header('Content-Type: text/html; charset=utf-8');
- ordered to .htaccess #AddDefaultCharset utf-8
- after connection to the database prescribed
mysql_query("SET NAMES utf8");
mysql_query("SET CHARACTER SET utf8");
mysql_query("SET character_set_client = utf8");
mysql_query("SET character_set_connection = utf8");
mysql_query("SET character_set_results = utf8");
but nothing helps. The data stored in the database portirovaniyu of AMO SRM, it is suspected that they are in ASCII. Is there anything I can do to display Cyrillic properly?