Merge pull request #4175 from Striffly/patch-2
Support PDF variables with UTF-8 characters
This commit is contained in:
commit
f1042b1079
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ trait PdfMakerUtilities
|
|||
|
||||
$html = strtr($html, $variables['values']);
|
||||
|
||||
@$this->document->loadHTML($html);
|
||||
@$this->document->loadHTML(mb_convert_encoding($html, 'HTML-ENTITIES', 'UTF-8'));
|
||||
|
||||
$this->document->saveHTML();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue