[whatwg] several messages about handling encodings in HTML

Krzysztof Żelechowski giecrilj at stegny.2a.pl
Fri Feb 29 06:53:11 PST 2008


Dnia 29-02-2008, Pt o godzinie 01:21 +0000, Ian Hickson pisze:

> > In 8.2.2.4, I have no idea what's the reason or purpose of point 1, 
> > which reads "If the new encoding is UTF-16, change it to UTF-8.". I 
> > suspect some misunderstanding.
> 
> This is required because many pages are labelled as UTF-16 but actually 
> use UTF-8. For example:
> 
>   http://www.zingermans.com

UTF‒16 cannot be transmitted over Internet anyway 
so it must be changed to something because what comes in 
is certainly not UTF‒16-encoded.  
This declaration is in error; 
one of the possible universal encodings UTF‒8, UTF‒16LE and UTF‒16BE 
should be chosen that produces valid markup for the decoded document.

Chris




More information about the whatwg mailing list