title: Trouble with http header specifying character encoding iso-8859-1 rather than utf-8?
body: <p>I have recently designed a website that contains German and Dutch characters and I would like the page to use character encoding utf-8.</p>
  
  <p>I have added the xml declaration:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  </code></pre>
  
  <p>and the meta tag:</p>
  
  <pre><code>&lt;meta http-equiv="content-type" content="text/html; charset=UTF-8" /&gt;
  </code></pre>
  
  <p>When I viewed the website on-line, the special characters found in the German text were not displaying correctly. When I tried validating the page with the w3c validator, I got the following warning:</p>
  
  <blockquote>
    <p>The character encoding specified in the HTTP header (iso-8859-1) is different from the value in the XML declaration (utf-8). I will use the value from the HTTP header (iso-8859-1).</p>
  </blockquote>
  
  <p>Is this a server issue? It's just that I have uploaded the same files to a different server of mine and the pages display correctly there using utf-8.</p>
  
  <p>Any help or advice regarding how I would go about getting the page to encode as utf-8 would be greatly appreciated. </p>
  
  <p>I'm stumped!</p>
  
  <hr>
  
  <p>Thanks to jason, I found a file named mod_mime-defaults.conf</p>
  
  <p>this file contains the following:</p>
  
  <pre><code># AddDefaultCharset UTF-8
  AddDefaultCharset ISO-8859-1
  </code></pre>
  
  <p>If I remove the # from before AddDefaultCharset UTF-8, do you think this will help? Or maybe add a # before AddDefaultCharset ISO-8859-1.</p>
  
  <p>I tried editing this file, but I don't think I have permission. Hmmm...?</p>