I've been struggling with this for some time now.
So I have a simple file called index.php encoded in UTF-8. The content of this file is:
require_once("dompdf/dompdf_config.inc.php");
$html =
'<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><style> body { font-family: verdana; } </style></head><body>'.
'<p>Put your html here, or generate it with your favourite '.
'templating system.</p><p>Č Š Ž č š ž €</p>'.
'</body></html>';
$dompdf = new DOMPDF();
$dompdf->load_html($html);
$dompdf->render();
$dompdf->stream("sample.pdf");
Basically I'm trying to show the letters Č Š Ž correctly in PDF. Š and Ž work fine but I can't seem to get Č to show up properly, instead I see ? in my PDF file. Any ideas?