Caution: before someone sets off and marks this as a duplicate of this , please understand that this is not the case. The accepted answer is exactly what I am doing, but I ran into the following problem.
The HTML file in the client folder is as follows:
<head> <meta charset="utf-8"/> <title>blah-blah</title> ---
The message I get in the firebug console is:
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.
When I create a view source, between the head element and the meta charset, I see a whole bunch of link style sheets and script tags.
If I remove the meta encoding, I get it in the firebug console:
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.
How do I get the meta chart tag right after the title?
Kinjal dixit
source share