I see question marks and incomprehensible symbols on the site

If incomprehensible characters are displayed on your site, this is due to incorrect encoding of the database and / or page.
To solve this problem, you need to change the page encoding. Also, your site must have a UTF-8 meta tag. You can add this line to the top of your index.php page: header ('Content-Type: text / html; charset = utf-8')
Problems can also arise if the files are encoded in "UFT8 with BOM". You need to open the files on your PC and set the encoding "UFT8 without BOM". After that, you need to download the files again. You can change the encoding using Notepad ++.

  • 159 Пользователей нашли это полезным
Помог ли вам данный ответ?

Статьи по Теме

403 Forbidden Ошибка

Причины возникновения ошибки:1. Некорректное содеражание файла index.php или index.html, его...

Как отключить вывод ошибок PHP ?

Чтобы отключить вывод ошибок в Вашем скрипте, используйте: error_reporting(0); Запомните, что...

Как исправить ошибку кодирования контента?

Если Ваш сайт показывает ошибку кодирования контента это может быть связано с GZIP сжатием....

Я вижу старое содержимое сайта после загрузки новых файлов

Скорее всего, Ваш браузер хранит старые копии в кэше для быстрой загрузки Вашего сайта. Вам нужно...

Помогите, cron задание не работает

Если Вы запускаете задание через PHP, например  php -f /home/username/public_html/file.php и не...