1
Issues / DOMDocument appendXML with special characters
I Share with you this solution when try to print or pdf export (for spanish special characters).
You can follow this steps
https://phprad.com/forum/index.php?topic=743.msg2510#msg2510
But you will need to add
Code: [Select]
$html = str_replace('&','&',$html);
Hope it´s useful.