<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>No charset meta tag?</title><link>http://blogs.msdn.com/michkap/archive/2005/09/22/473049.aspx</link><description>I just got a message from Mihai yesterday: Digging into the indented links issues a couple of days ago, I got to see the source of your blog. To my surprise, there is no charset meta in the head section. Deadly sin! :-) Anything to say in your defense?</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: No charset meta tag?</title><link>http://blogs.msdn.com/michkap/archive/2005/09/22/473049.aspx#473068</link><pubDate>Fri, 23 Sep 2005 03:35:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:473068</guid><dc:creator>Mike Dimmick</dc:creator><description>The server sends &amp;quot;Content-Type: text/html; charset=utf-8&amp;quot;, so no need to worry.&lt;br&gt;&lt;br&gt;If the meta tag was present it would override the header, I think (in current browsers; the HTML 4.01 spec still pretends that META HTTP-EQUIV is a hint to the server to output a header, which in fact no server has ever done, as far as I'm aware).</description></item><item><title>re: No charset meta tag?</title><link>http://blogs.msdn.com/michkap/archive/2005/09/22/473049.aspx#473069</link><pubDate>Fri, 23 Sep 2005 03:38:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:473069</guid><dc:creator>Michael S. Kaplan</dc:creator><description>There are many times that the relationship between a standard and reality is a tenuous one. :-)</description></item><item><title>re: No charset meta tag?</title><link>http://blogs.msdn.com/michkap/archive/2005/09/22/473049.aspx#473071</link><pubDate>Fri, 23 Sep 2005 03:39:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:473071</guid><dc:creator>Michael S. Kaplan</dc:creator><description>By the way, all this text looks good on a Vista machine (if you make allowances for the fact that I just serially entered characters and thus did not buid for proper shaping!)</description></item><item><title>re: No charset meta tag?</title><link>http://blogs.msdn.com/michkap/archive/2005/09/22/473049.aspx#473125</link><pubDate>Fri, 23 Sep 2005 06:27:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:473125</guid><dc:creator>CornedBee</dc:creator><description>The server header overrides the meta tag. Or at least it should.&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://www.w3.org/TR/html401/charset.html#h-5.2.2"&gt;http://www.w3.org/TR/html401/charset.html#h-5.2.2&lt;/a&gt;&lt;br&gt;HTML 4.01 says:&lt;br&gt;&lt;br&gt;&amp;gt; To sum up, conforming user agents must observe the&lt;br&gt;&amp;gt; following priorities when determining a document's&lt;br&gt;&amp;gt; character encoding (from highest priority to lowest):&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;   1. An HTTP &amp;quot;charset&amp;quot; parameter in a &amp;quot;Content-Type&amp;quot; field.&lt;br&gt;&amp;gt;   2. A META declaration with &amp;quot;http-equiv&amp;quot; set to &amp;quot;Content-Type&amp;quot; and a value set for &amp;quot;charset&amp;quot;.&lt;br&gt;&amp;gt;   3. The charset attribute set on an element that designates an external resource.&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>HTTP headers &gt; meta tags</title><link>http://blogs.msdn.com/michkap/archive/2005/09/22/473049.aspx#473305</link><pubDate>Fri, 23 Sep 2005 18:50:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:473305</guid><dc:creator>Maurits</dc:creator><description>IMHO, if you have an option to specify something as an HTTP header or a &amp;lt;meta http-equiv&amp;gt;, the HTTP header is usually the better option.&lt;br&gt;&lt;br&gt;Why?&lt;br&gt;&lt;br&gt;Well, for one thing, it's nice to know the character set before having to read any of the character data!&lt;br&gt;&lt;br&gt;http-equiv/charset is a bit like keeping the key to a lockbox inside the lockbox :)</description></item><item><title>re: No charset meta tag?</title><link>http://blogs.msdn.com/michkap/archive/2005/09/22/473049.aspx#473321</link><pubDate>Fri, 23 Sep 2005 19:32:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:473321</guid><dc:creator>Mihai</dc:creator><description>As with many other things, I think the answer for &amp;quot;what is best&amp;quot; is &amp;quot;it depends.&amp;quot;&lt;br&gt;The HTTP header is decided by the server based on config files. And if your ISP (for some stupid reason) decided to set the header to iso-8859-1, you want to be able to override that.&lt;br&gt;And, in general, even if the ISP have set the server to utf-8, maybe I want to have the control!&lt;br&gt;&lt;br&gt;You can sometimes have troubles if the content of the files do not match what the server thinks (on certain versions of certain servers). For instance server side includes will garble characters if the server is set to utf-8 and you use something else :-(&lt;br&gt;Good to remember: if you see that a one page frome the server is half good, half bad, and if you use server include, now you know one of the possible reasons.</description></item><item><title>It gets worse</title><link>http://blogs.msdn.com/michkap/archive/2005/09/22/473049.aspx#473328</link><pubDate>Fri, 23 Sep 2005 19:49:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:473328</guid><dc:creator>Maurits</dc:creator><description>Check out &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/"&gt;http://blogs.msdn.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;It returns a header:&lt;br&gt;Content-Type: text/html; charset=utf-8&lt;br&gt;&lt;br&gt;But if you look at the source it includes a &amp;lt;meta&amp;gt; tag:&lt;br&gt;&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=iso-8859-1&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt;Both can't be right. :) There's a č that's being served as raw C5A1, so I'm inclined to believe the UTF8 claim -- rather amusing that it's raw, since the &amp;#224; is being escaped as &amp;amp;#224;</description></item><item><title>If the [IE7 on Vista ]browser doesn't have anything nice to display, it might display nothing?</title><link>http://blogs.msdn.com/michkap/archive/2005/09/22/473049.aspx#7566324</link><pubDate>Sat, 09 Feb 2008 21:14:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7566324</guid><dc:creator>Sorting It All Out</dc:creator><description>&lt;p&gt;Another recent Suggestion Box item from favored &amp;quot;regular&amp;quot; reader Tanveer Badar: Another problem from&lt;/p&gt;
</description></item></channel></rss>