Saturday, 14 September 2013

declares encoding of own file?

declares encoding of own file?

I read that an HTML file has to contain the <meta charset="utf-8">element
in the head-element to be standard-conforming.
Concerning this, I have the following questions:
Why does it make sense to specifiy the encoding of a file in the file
itself? In order to read the meta-element one has to know the encoding
already; so it seems redundant/useless to specify the encoding again.

No comments:

Post a Comment