title: Which ContentEncoding to be used for WOFF and TTF with HttpListener response?
body: <p>Chrome and Firefox don't render Font-Awesome's WOFF/TTF, even if they download them from HttpListener, that said, Safari on iOS is rendering Font-Awesome correctly.
  I am sending HTTP response using .NET's HttpListener class as follows:</p>
  
  <pre><code>private void Send(HttpListenerContext context, byte[] response, string contentType)
      {
          context.Response.StatusCode = (int)HttpStatusCode.OK;
          context.Response.ContentEncoding = Encoding.UTF8;
          context.Response.ContentType = contentType;
          context.Response.ContentLength64 = response.Length;
          context.Response.AddHeader("Server", SERVER);
  
          if (response == null || response.Length == 0)
          {
              logger.Error("Send: Engine generated null or empty content");
              context.Response.StatusCode = (int)HttpStatusCode.NotFound;
              return;
          }
  
          using (var s = context.Response.OutputStream)
          {
              s.Write(response, 0, response.Length);
          }
      }
  </code></pre>
  
  <p>Is there another encoding type (other than UTF8) for WOFF? or is there something that I have to take care of in Chrome or Firefox?</p>
  
  <p>Any help or pointer appreciated, thanks.</p>