title: How to set encoding to utf-8 on a IIS web.config file?
body: <p>I have this</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;configuration&gt;
  
      &lt;appSettings&gt;
          &lt;add key="ContentServer" value="true" /&gt;
      &lt;/appSettings&gt;
      &lt;connectionStrings /&gt;
  
      &lt;system.web&gt;
          &lt;trace enabled="false" requestLimit="25" pageOutput="false" traceMode="SortByTime" localOnly="false" /&gt;
          &lt;customErrors mode="Off" /&gt;
          &lt;compilation debug="false" /&gt;
          &lt;authentication mode="Windows" /&gt;
      &lt;/system.web&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>How do I set the encoding to utf-8 for files sent to client. Actually There can be other types of files sent to clients like js,css,images. But I have aspx pages, that I want to set <code>text/html; charset=utf-8"</code> content-type to. How can I add this to this web.config code?</p>
  
  <p>Thanks</p>