Error: The character encoding was not declared.
-
Hi,
I use minify for both css and js. In W3 validator I get:
Error: The character encoding was not declared. Proceeding using windows-1252. http://www.travelersuniverse.com/things-to-do-places-to-visit-in-valencia Info: Using the schema for HTML with SVG 1.1, MathML 3.0, RDFa 1.1, and ITS 2.0 support. Error: Changing character encoding utf-8 and reparsing. From line 6, column 299; to line 7, column 63 ></script><meta↩http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta↩ Fatal Error: Changing encoding at this point would need non-streamable behavior. At line 7, column 63 harset=utf-8" /><meta↩name="vi
This is what I have in the source code:
<head><link rel="stylesheet" type="text/css" href="http://www.travelersuniverse.com/wp-content/cache/minify/000000/79a08/single.include.e8a63c.css" media="all" /><script async type="text/javascript" src="http://www.travelersuniverse.com/wp-content/cache/minify/000000/79a08/default.include.b31316.js"></script><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
And my head.php looks like this
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
For some reason, the W3 Total Cache inserts the minified files above the character encoding.
How do I place them after the character encoding is set?
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Error: The character encoding was not declared.’ is closed to new replies.