From: Wojciech K. <woj...@ko...> - 2006-01-25 12:13:43
|
From what I know http wins, meta is chosen when http does not specify it. But I'm not sure if it's standarized in any way so that you can actually rely on this. The best practice is to set both meta/xml declaration and http Content-Type. Dnia 25-01-2006 o 13:05:40 David Gravereaux <dav...@po...> napisał: > What happens when the server sets > "Content-Type: text/html; charset=XXX" > > in the headers and the page contains: > <meta http-equiv="Content-Type" content="text/html; charset=YYY"> > > Does the <meta> win or is it done twice, once for the transmission, and > second at html parser level? > > Is the same true for an XML document declaration? > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > TclHttpd-users mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tclhttpd-users -- WK |