Fatal Error: Changing encoding at this point would need non-streamable behavior.*

This is what I have in the source code:

And my head.php looks like this

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!

html wordpress utf-8 character-encoding w3c-validation
Improve this question
edited Jul 18 "15 at 11:54

Umesh Maliya
9766 bronze badges
asked Jul 18 "15 at 11:09

1311 gold badge22 silver badges55 bronze badges
Add a comment |

1 Answer 1

Active Oldest Votes
I know this post is old, but I had the same problem today and I was searching around for the answer till I found it myself. So if it can help someone...

You are watching: Error: the character encoding was not declared. proceeding using windows-1252.

I had the following errors when trying to validate my JSHangman.html page on the w3c html validator:

Error: The character encoding was not declared. Proceeding using windows-1252.Error: A charset attribute on a meta element found after the first 1024 bytes.At line 39, column 25 charset="utf-8" />↩ ↩Error: Changing character encoding utf-8 and reparsing.From line 39, column 5; to line 39, column 28itle>↩ ↩ ↩ ↩ In fact, the answer was in the second error line:

Error: A charset attribute on a meta element found after the first 1024 bytes.

I had a big comment (something like 20 lines) between my tag and my tag and that was the issue. My problem was solved as soon as I deleted it.

Improve this answer
answered Jul 26 "16 at 21:35

7511 silver badge44 bronze badges
Add a comment |

Your Answer

Thanks for contributing an answer to Stack Overflow!

Please be sure to answer the question. Provide details and share your research!

But avoid

Asking for help, clarification, or responding to other answers.Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.

See more: Description: Sesame Street African Animal Alphabet Lyrics, The African Animal Alphabet

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Facebook
Sign up using Email and Password

Post as a guest

Email Required, but never shown

Post as a guest


Required, but never shown

Post Your Answer Discard

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged html wordpress utf-8 character-encoding w3c-validation or ask your own question.

The Overflow Blog
Featured on Meta
Setting the default Java character encoding
Submitted character encoding -- _charset_ hidden field
Setting the character encoding in Day CQ
Problem with encoding
Determine character encoding in Ruby 1.9.3
The character encoding of the HTML document was not declared
JSF character encoding issue
Error with UTF-8 character encoding in html file
not validating
Hot Network Questions more hot questions

Question feed
Subscribe to RSS
Question feed To subscribe to this RSS feed, copy and paste this URL into your RSS reader.


Stack Overflow
Stack Exchange Network
site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev2021.10.28.40592

Stack Overflow works best with JavaScript enabled

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.