From 983508dd8bebcc24ea307b84f670d01fd76920cc Mon Sep 17 00:00:00 2001 From: fGaillard Date: Mon, 21 Nov 2011 12:37:59 +0000 Subject: [PATCH] // BugFix Invoice / Delivery PDF encoding git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10340 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/PDF.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/PDF.php b/classes/PDF.php index c1970cd11..e71657e85 100644 --- a/classes/PDF.php +++ b/classes/PDF.php @@ -898,7 +898,7 @@ class PDFCore extends PDF_PageGroupCore $this->MultiCell($w[++$i], 5, Tools::iconv('utf-8', self::encoding(), $product['product_name']), 'B'); $lineSize = $this->GetY() - $before; $this->SetXY($this->GetX() + $w[0] + ($delivery ? 15 : 0), $this->GetY() - $lineSize); - $this->Cell($w[++$i], $lineSize, ($product['product_reference'] ? $product['product_reference'] : '--'), 'B'); + $this->Cell($w[++$i], $lineSize, ($product['product_reference'] ? Tools::iconv('utf-8', self::encoding(), $product['product_reference']) : '--'), 'B'); if (!$delivery) $this->Cell($w[++$i], $lineSize, (self::$orderSlip ? '-' : '').self::convertSign(Tools::displayPrice($unit_price, self::$currency, true)), 'B', 0, 'R'); $this->Cell($w[++$i], $lineSize, $productQuantity, 'B', 0, 'C');