Support PDF design with UTF-8 characters
This commit is contained in:
parent
552ac4ee8f
commit
92b4df729b
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ trait PdfMakerUtilities
|
|||
$document = new DOMDocument();
|
||||
|
||||
$document->validateOnParse = true;
|
||||
@$document->loadHTML($this->design->html());
|
||||
@$document->loadHTML(mb_convert_encoding($this->design->html(), 'HTML-ENTITIES', 'UTF-8'));
|
||||
|
||||
$this->document = $document;
|
||||
$this->xpath = new DOMXPath($document);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue