Dompdf with special characters
I have the following code:
$pdf = \App::make('dompdf');
$pdf->loadView('offers.pdf',compact('email','messages'));
return $pdf->stream();
pdf.blade.php
:
<!doctype html>
<html class="no-js" lang="sk">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<style type="text/css">
* {
font-family: "Arial";
}
</style>
</head>
<body>
Rozpočet, Voliteľné časti
</body>
</html>
The PDF document looks like this:
Rozpo?et,Volite?né ?asti
But I need special characters like in a file pdf.blade.php
, do you have some solutions for me?
+3
source to share
No one has answered this question yet
See similar questions:
or similar: