|
Posted by Michael on 03/23/07 08:55
"MG" <nospam@nospam.com> schreef in bericht
news:1174634866.867107@vasbyt.isdsl.net...
> Thanks Brian and Jukka
>
> I think I will go for the meta tag, but not mess with http headers.
>
> MG
Actually, I think messing with the headers is better :)
When setting character encodings, redirects and HTTP status codes, for
example, using the HTTP headers will tell the browser the correct
information _before_ it starts rendering. If you use meta tags, it will
probably start rendering with the defaults (provided by your HTTP server)
instead, and only switch when it encounters the META tag, which could cause
for some unexpected behaviour (believe me, I found out :)).
But of course, if you want to do pure HTML without using server-side
scripting, you have little choice I suppose.
Regards
Michael.
[Back to original message]
|