4 ms·
Mostly someone needs to set the useful headers correctly instead of sending pointless garbage.
by masklinn 13y ago
Mostly someone needs to set the useful headers correctly instead of sending pointless garbage.
- teach 13y agoI wish you had said this differently. Not only is it hostile, it doesn't contain enough information. I run a web site. All my pages contain <meta charset='utf-8'> in the title. What are you suggesting I do differently?
- voidlogic 13y agoHe probably meant HTTP header: Ex: Content-Type: text/html; charset=UTF-8
- timClicks 13y agoHTTP has good support for declaring content encoding. Putting this in HTML probably seems like wasted bytes to protocol purists.
- andyroid 13y agoOne advantage of putting it in a meta tag is that the encoding is preserved even if the document is read from elsewhere (parsed from the local filesystem, etc).
- vardump 13y agoNot to mention that not everyone has control over what HTTP headers get sent. It's way easier for a non-technical person to just add it in meta tag. Definitely a lot better option than leaving the matter to browser encoding sniffer!