www/prod_print.php

changeset 589
b6a73022abe7
parent 543
c062eb0dd7ce
child 622
39902353b159
--- a/www/prod_print.php	Tue Jan 07 16:03:45 2020 +0100
+++ b/www/prod_print.php	Wed Jan 08 23:32:16 2020 +0100
@@ -109,7 +109,8 @@
 
 		$this->SetX($this->TableX);
 		$this->Cell(35,5,'Bierstijl',0,0,'L',true);
-		$this->Cell(45,5,$row['st_name'],0,0,'L',true);
+		$st_name = iconv('UTF-8','windows-1252',$row['st_name']);
+		$this->Cell(45,5,$st_name,0,0,'L',true);
 		$this->Cell($vul,5,'',0,0,'L',false);
 		$this->Cell(35,5,'Installatie',0,0,'L',true);
 		$this->Cell(45,5,$row['eq_name'],0,0,'L',true);
@@ -1126,7 +1127,8 @@
 		$this->Cell(0,5,$prdate,0,1,'L');
 		$this->SetX(45);
 		$this->Cell(17,5,'Stijl:',0,0,'L');
-		$this->Cell(0,5,$row['st_name'],0,1,'L');
+		$st_name = iconv('UTF-8','windows-1252',$row['st_name']);
+		$this->Cell(0,5,$st_name,0,1,'L');
 		$this->SetX(45);
 		$this->Cell(17,5,'Fase:',0,0,'L');
 		$this->Cell(0,5,$stage[$row['stage']],0,1,'L');

mercurial