title: UTF-8 encoded html pages show � (questions marks) instead of characters
body: <p>I have the standard XAMPP installation on win7 (x64).
  Having had my share of encoding troubles in a past project where mysql encoding did not match with the php enconding which in turn sometimes output html in other encodings, I decided to consistently encode everything using utf-8.</p>
  
  <p>I'm just getting started with the html markup and am allready experiencing troubles.</p>
  
  <ul>
  <li>My page is saved using utf-8 (no BOM, <em>I think</em>)<br>
  <em>//update: It turns out this was NOT the case. The file was actually saved with <code>ISO_8859-1</code>. I later found this out thanks to Sherm Pendleys answer. I had to go back and change my project settings (which were set to "ISO-8859-1") to the desired "UTF-8".</em></li>
  <li>php is set per .htaccess to serve .php-pages in utf-8 with: <code>AddCharset UTF-8 .php</code></li>
  <li>html has a meta tag specifying: <code>&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;</code></li>
  <li>To test I set used php <code>header('Content-Type:text/html; charset=UTF-8');</code></li>
  </ul>
  
  <p>The page is evidently served in utf-8 (firefox and chrome recognize it as such) but any special characters such as <code>é</code>, <code>á</code> or <code>¡</code> will just show as <code>�</code>. Also when viewing the source code.</p>
  
  <p>When dropping the encoding settings mentioned above all characters are rendered correctly but the encoding that is detected shows either <code>windows-1252</code> or <code>ISO-8859-1</code> depending on the browser.</p>
  
  <p>How come? I'm very puzzled. I would have expected the exact opposite behavior.<br>
  Any advice is welcome, thanks!</p>
  
  <p>edit:
  Hopefully this helps a bit more. This is the response header (as per firebug)</p>
  
  <pre><code>HTTP/1.1 200 OK
  Date: Sat, 26 Mar 2011 20:49:44 GMT
  Server: Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
  X-Powered-By: PHP/5.3.1
  Content-Length: 91
  Keep-Alive: timeout=5, max=99
  Connection: Keep-Alive
  Content-Type: text/html; charset=utf-8
  </code></pre>