Метатег не в первых 1024 байтах
Предостережение: прежде чем кто-то идет и помечает это как дубликатэтотПожалуйста, поймите, что это не так. Принятый ответ - именно то, что я делаю, но я сталкиваюсь со следующей проблемой.
HTML-файл в папке клиента выглядит так:
blah-blah
---
Сообщение, которое я получаю в консоли firebug:
The character encoding declaration of the HTML document
was not found when prescanning the first 1024 bytes of
the file. When viewed in a differently-configured browser,
this page will reload automatically. The encoding
declaration needs to be moved to be within the first
1024 bytes of the file.
Когда я делаю источник представления, между головой и элементом meta charset, я вижу целую кучу ссылок на таблицы стилей и сценарии.
Если я удалю meta charset, я получу это в консоли firebug:
The character encoding of the HTML document was not
declared. The document will render with garbled text
in some browser configurations if the document
contains characters from outside the US-ASCII range.
The character encoding of the page must to be declared
in the document or in the transfer protocol.
Как мне получить мета-тег charset сразу после заголовка?