[wp-hackers] content-type before title
    Rob Miller 
    r at robm.me.uk
       
    Fri Aug 25 15:02:08 GMT 2006
    
    
  
Sean Hickey wrote:
> It'll take me a little while to track down "proof", if there is any.
> The reason for putting the content-type before the title, is because
> the title may have "unusual" characters in it, with non-standard
> encoding (Think a Japanese website, with a Japanese title). The
> doctype, html tag, and head tag, are *guaranteed* to always be
> "normal" characters -- there's no way for them not to be.  Anything
> past that, including the title, may contain extended character sets.
> That's why you notify the browser of the character-type before it has
> a chance to encounter non-standard characters.
>
> - Sean
>
>
Would it not be easier to just send the content-type in the header?
-- 
Rob Miller
http://robm.me.uk/ | http://kantian.co.uk/
    
    
More information about the wp-hackers
mailing list