title: Dompdf UT8 with database records with accents
body: <p>I have a problem with utf8 with my stored data with dompdf for laravel: <a href="https://github.com/barryvdh/laravel-dompdf" rel="nofollow noreferrer">https://github.com/barryvdh/laravel-dompdf</a></p>
  <p>My column collation is set to</p>
  <pre><code>utf8mb4_unicode_ci
  </code></pre>
  <p>In my html file I use:</p>
  <pre><code>&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;/&gt;
  </code></pre>
  <p>So when I write in my html file : éééé and I generate the PDF it's file but when I display my stored data the accents are displayed by : ?</p>
  <p><a href="https://i.stack.imgur.com/KARjx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KARjx.png" alt="enter image description here" /></a></p>
  <p>In my config/dompdf.php</p>
  <p>I have set :</p>
  <pre><code>  &quot;DOMPDF_UNICODE_ENABLED&quot; =&gt; true,
    &quot;DOMPDF_PDF_BACKEND&quot; =&gt; &quot;CPDF&quot;,
  </code></pre>
  <p>What am I doing wrong? The problem only come from my stored data.. Hope someone could help thanks a lot in advance.</p>
  <p>When I display my blade page without dompdf on firefox it's also really strange I get spaces between the accents :</p>
  <p><a href="https://i.stack.imgur.com/oYVLe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oYVLe.png" alt="enter image description here" /></a></p>
  <p>But with Chrome all is fine ..</p>
  <p><a href="https://i.stack.imgur.com/GwZ5J.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GwZ5J.png" alt="enter image description here" /></a></p>
  <p>Also when i trie to pass a variable with a accent to my dompdf view the content of the variable is not display when there is an accent</p>
  <pre><code>$fede = 'fé'; // not display 
  $fede = 'fe'; // is displayed as well.. 
  </code></pre>