title: HTML validation error: Non-space characters found before DOCTYPE
body: <p>I have a blog(wordpress based). And try to validate by w3c validator one of my page. The first error is:</p>
  
  <pre><code>Line 1, Column 1: Non-space characters found without seeing a doctype first. Expected &lt;!DOCTYPE html&gt;.
  &lt;!DOCTYPE html&gt;&lt;!-- HTML 5 --&gt;
  </code></pre>
  
  <p>Also, DebugBar (http://www.my-debugbar.com/wiki/IETester/HomePage) agree and show two invisible chars before <code>&lt;!</code> when I open the same page from "HTML Check" tab inside this tool.    BUT!!</p>
  
  <ol>
  <li>This line of HTML-code come from file <strong>header.php</strong> in my wordpress theme.</li>
  <li>I download this file from my hoster to my local HDD.</li>
  <li>The first line of <strong>header.php</strong> is <code>&lt;!DOCTYPE html&gt;&lt;!-- HTML 5 --&gt;</code></li>
  <li>When I open <strong>header.php</strong> in RJ TextEd (just advanced text editor) it say: current encoding for <strong>header.php</strong> is UFT-8 <strong>without</strong>(!) BOM.</li>
  <li>When I open header.php in HEX-viewer I see, that byte 0 and 1 is 3c,21 - so it is exactly <code>&lt;!</code>.</li>
  </ol>
  
  <p>So, all things considered, why &amp; where I get  these "odd symbols" from?</p>