after the transfer of the site to the hosting has ceased to display the Cyrillic alphabet. The place of the letters displays question marks. That's what's in meta

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 

The server has the same encoding. If you bring this site through a local server, then everything is displayed correctly.

  • If the output is from the Database, then you need to look for the problem there. - Vladimir Rodichev 6:42 pm
  • If you connect to this table from the local server, then everything is fine. - Alik 46
  • settings may be different, because the server is different - judging by the answer. Analyze the settings of the workers, including a copy of the database, create the same settings on the server where the output comes from. Or contact hosters to help. - Vladimir Rodichev

1 answer 1

If everything is normal on the local, then the server does not have a UTF-8 encoding. Add in .htaccess AddDefaultCharset UTF-8

And make sure that when uploading files to the hosting, you have not changed the code encoding. Open any file and look in what encoding it is displayed.

  • I tried to add the text that was not derived from the database, and it is displayed normally, and the text from the database is all the same. But at the same time the same site, connecting from the local server to the same database, displays everything fine. - Alik 46
  • mysql_query("SET NAMES 'utf8'"); mysql_query("SET CHARACTER SET 'utf8'"); mysql_query("SET SESSION collation_connection = 'utf8_general_ci'"); - Denis Heavenly