Philip TAYLOR schreef:
> it interprets the META directive as you would wish. But in so
> doing, it starts to parse the document on the basis of it being
> expressed in ISO-9999-9, whereupon it discovers that there wasn't
> a META directive at all, there was, rather, a(n ill-formed) BODY
> tag. But because it now knows there /was/ no META directive, it
> parses using ISO-8859-1. But that means there IS a META
> directive. And so on. I'm sure you see the problem ...
On the other hand you see that languages such as CSS use a similar
mechanism to determine the character encoding:
http://www.w3.org/TR/CSS21/syndata.html#x62
So it’s not without precedent.
Of course due to the constraints that CSS puts on the location and the
encoding of the character encoding identifier, it’s a lot simpler to
determine than in HTML.
~Grauw
--
Ushiko-san! Kimi wa doushite, Ushiko-san!!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laurens Holst, student, university of Utrecht, the Netherlands.
Website: www.grauw.nl. Backbase employee; www.backbase.com.