From 46637ce9df2ad736903636e02da1fd5946ea7499 Mon Sep 17 00:00:00 2001 From: cgsmith Date: Sat, 23 Mar 2013 21:56:32 -0500 Subject: [PATCH] added utf8_decode --- extensions/invoice-to-pdf/upload/system/helper/pdf.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/invoice-to-pdf/upload/system/helper/pdf.php b/extensions/invoice-to-pdf/upload/system/helper/pdf.php index 2c50884..ff244ce 100644 --- a/extensions/invoice-to-pdf/upload/system/helper/pdf.php +++ b/extensions/invoice-to-pdf/upload/system/helper/pdf.php @@ -21,8 +21,8 @@ function pdf($data, $name) { $name = 'Order_'.$name[0]['order_id']; } $pdf = new DOMPDF; - $pdf->load_html($data); + $pdf->load_html(utf8_decode($data)); $pdf->render(); $pdf->stream($name.".pdf"); } -?> \ No newline at end of file +?>