HTML5のWorking Draft(20110113)までは、文字エンコーディング判定の範囲はファイルの先頭512byte以内と定義されていました。 そのため、 <!DOCTYPE html> <!--[if IE 8 ]><html lang="ja" xmlns:og="http://ogp.me/ns#" xmlns:mixi="http://mixi-platform.com/ns#" xmlns:fb="http://www.facebook.com/2008/fbml" class="ie8"><![endif]--> <!--[if IE 9 ]><html lang="ja" xmlns:og="http://ogp.me/ns#" xmlns:mixi="http://mixi-platform.com/ns#" xmlns:fb="http://www.facebo
![HTML5の文字エンコーディングの判定は 512byte または 1024byte 以内までに - latest log](https://cdn-ak-scissors.b.st-hatena.com/image/square/2d086746bbefed6b8857f1ba16a2701b2c60e078/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.d.st-hatena.com%2Fdiary%2Fuupaa%2F2011-07-10.jpg)