title: wkhtmltopdf footer-html encoding utf-8
body: <p>wkhtmltopdf --encoding utf-8 is not working for --footer-html.</p>
  
  <p>I am using the following command. Both HTML files are also in utf8 format.</p>
  
  <pre><code>wkhtmltopdf  --dpi 120 -O Portrait --encoding 'utf-8' --footer-html /tmp/testFooter.html  /tmp/testMain.html  /tmp/testPDF.pdf
  </code></pre>
  
  <p>Both files have french characters. But in pdf footer have bad characters. </p>
  
  <pre><code>&lt;html&gt;
       &lt;head&gt;
          &lt;title&gt;&lt;/title&gt;
       &lt;/head&gt;
      &lt;body&gt;
      &lt;div style="width:95%;font-size:9pt;font-family:Arial;"&gt;
      &lt;div style="border-top: 1px solid black;width: 100%;text-align: center;"&gt;
      test - Guérin 691BANNE - FRANCE - SA au capital 0 Euros -737 729 - Téléphone :  86 03&lt;/div&gt;&lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Following image is output
  <img src="https://i.stack.imgur.com/aJMFh.png" alt="enter image description here"></p>