Im trying to create pdf with correct characters, but there are \"?\" chars. I created a test php file, where Im trying to fing the best solution. If Im open in the browser t
I got UTF-8 characters working with this combination. Before you pass html to DOMpdf, make encoding covert with this:
$html = mb_convert_encoding($html, 'HTML-ENTITIES', 'UTF-8');
Use DejaVu font in your css
*{ font-family: DejaVu Sans; font-size: 12px;}
Make sure you have set utf-8 encoding in HTML tag
Now all special characters are working "ľ š č ť ž ý á í é"