Metatag nie w pierwszych 1024 bajtach
Zastrzeżenie: Zanim ktoś pójdzie i oznaczy to jako duplikatto, proszę zrozumieć, że tak nie jest. Akceptowaną odpowiedzią jest dokładnie to, co robię, ale stoję przed następującym problemem.
Plik HTML w folderze klienta wygląda tak:
<head>
<meta charset="utf-8"/>
<title>blah-blah</title>
---
Wiadomość, którą dostaję w konsoli firebug to:
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.
Kiedy wykonuję źródło widoku, między głową a elementem meta-charset, widzę całą masę arkusza stylów łącza i znaczników skryptów.
Jeśli usuwam zestaw znaków meta, dostaję to w konsoli 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.
Jak uzyskać tag meta-charset, aby pojawił się zaraz za głową?