From b4b24f74f196718c00469a6a40799132b55c6613 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sun, 27 Sep 2015 19:48:09 +0200 Subject: encoding issue --- classes/offer.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes/offer.class.php') diff --git a/classes/offer.class.php b/classes/offer.class.php index ac4549f..1b80ce0 100644 --- a/classes/offer.class.php +++ b/classes/offer.class.php @@ -527,7 +527,7 @@ class offer { foreach ($list as $row) { $x = $pdf->getX(); $y = $pdf->getY(); - $pdf->MultiCell($width[0],6,$row[0],0,'L'); + $pdf->MultiCell($width[0],6,iconv('utf-8', 'iso-8859-1', $row[0]),0,'L'); $newy = $pdf->getY(); $pdf->SetXY($x + $width[0], $y); $pdf->Cell($width[1],6,correspondence::valuta().number_format($row[1],2),'',0,'R'); @@ -626,4 +626,4 @@ class offer { return $file; } -} \ No newline at end of file +} -- cgit v1.2.3