Apologies if this is in the wrong thread...
I'm running Google site speed checker on my site and the following issue is flagged:
Specify a character set
Specifying a character set early for your HTML documents allows the browser to begin executing scripts immediately.
Suggestions for this page
The following resources have no character set specified in their HTTP headers. Specifying a character set in HTTP headers can speed up browser rendering.
I have the follwoing in my page head:
...so what am I missing?
That is more flagging what's sent by the server, I believe.
Ah right-O. Are you able expand on what I have to do to resolve this?
It's not really something I understand very well. This tries to explain what headers are:
and this might help a bit, too:
It may depend on the type f server you have and your access privileges how much you can do about this ... assuming it's even the issue. Can you post a link to the site?
It boils down to creating a .htaccess file with the following line in it:
AddCharset UTF-8 .html
As they say, this "will cause all files with the extension .html to be served as UTF-8", directly or in the subdirectory tree where the .htaccess file resides.
Also, a HTML5 charset doesn't exist. And the whole stuff here is web server related, it's not HTML related.
This topic is now closed. New replies are no longer allowed.