ontarget
Active Member
Hi
I am trying to get a pdf output using the dompdf 0-6-0beta 3 library I am using Joomla 3.2.0
The error I am getting is
Warning: mb_convert_encoding() [function.mb-convert-encoding]: Illegal character encoding specified in libraries/dompdf/include/dompdf.cls.php on line 412
Unable to stream pdf: headers already sent
Here is the code on those lines
Does anyone know the fix for this issue?
Thanks
I am trying to get a pdf output using the dompdf 0-6-0beta 3 library I am using Joomla 3.2.0
The error I am getting is
Warning: mb_convert_encoding() [function.mb-convert-encoding]: Illegal character encoding specified in libraries/dompdf/include/dompdf.cls.php on line 412
Unable to stream pdf: headers already sent
Here is the code on those lines
Code:
if ($encoding !== 'UTF-8') {
$str = mb_convert_encoding($str, 'UTF-8', $encoding);
}
Does anyone know the fix for this issue?
Thanks