title: Head tags displays inside body on CakePhp
body: <p>I have a strange error on CakePhp 2.0 where the head tags renders empty, and all the tags that belongs to head, renders into the body before any content.</p>
  
  <p>This his how the layout default.ctp looks:</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
      &lt;?php echo $this-&gt;Html-&gt;charset(); ?&gt;
      &lt;title&gt;
          &lt;?php echo $title_for_layout; ?&gt;
      &lt;/title&gt;
      &lt;?php
          echo $this-&gt;Html-&gt;meta('icon');
          echo $this-&gt;Html-&gt;script(array('librerias/jquery.tools.min'));
          echo $this-&gt;Html-&gt;css('cake.generic');
          echo $this-&gt;Html-&gt;css('webfront');
          echo $scripts_for_layout;
      ?&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div id="container"&gt;
          &lt;div id="header"&gt;
          &lt;/div&gt;
  (the rest of the html render)
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And this is how it's rendered, as firebug says:</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;&lt;/head&gt;
  &lt;body&gt;
  &amp;#65279;&amp;#65279;
      &lt;meta content="text/html; charset=utf-8" http-equiv="Content-Type"&gt;
      &lt;title&gt; Usuarios &lt;/title&gt; **(IE moves the title tag on the head manually, it seems)**
      **(IE displays the DOCTYPE on its debugging console here)**
      &lt;link rel="icon" type="image/x-icon" href="/web/favicon.ico"&gt;
      &lt;link rel="shortcut icon" type="image/x-icon" href="/web/favicon.ico"&gt;
      &lt;script src="/web/js/librerias/jquery.tools.min.js" type="text/javascript"&gt;
      &lt;link href="/web/css/cake.generic.css" type="text/css" rel="stylesheet"&gt;
      &lt;link href="/web/css/webfront.css" type="text/css" rel="stylesheet"&gt;
      &lt;div id="container"&gt;
          &lt;div id="header"&gt; &lt;/div&gt;
          (the rest of the html render)
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>It's bad enough because it distorts the DOCTYPE tag and makes IE render the page very buggy.</p>
  
  <p>Also, I have another test site where it doesn't happen this error. In fact I switched layouts and the error was the same.</p>
  
  <p>Does someone knows why this happens? I couldn't find anything similar on the web and I don't have any clue about this. Any help will be appreciated.</p>
  
  <p>Thanks in advance</p>