On Sun, Oct 23, 2011 at 8:29 PM, Larry Masinter <[email protected]> wrote:
>> First you determine the content-type and then after that you may want to 
>> determine the charset used within that content-type
>
> That's wishful thinking that doesn't match what has to happen ... the 
> mime-sniffing document ALREADY is looking at the charset, by looking for 
> byte-order-mark signatures to decide whether the content is text or binary.
> So we're already doing charset detection, just not calling it that or 
> completely specifying it.

I mean, the full charset sniffing algorithm is significantly more
complicated that that.  For example, it also takes into account other
frames being rendering by the user agent.

Adam
_______________________________________________
websec mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/websec

Reply via email to