Quellcode durchsuchen

Fix fpdf so that it is capable of UTF-8.

Mark Crane vor 10 Jahren
Ursprung
Commit
16a52f0646
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      resources/fpdf/fpdf.php

+ 1 - 0
resources/fpdf/fpdf.php

@@ -644,6 +644,7 @@ function Cell($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=false, $link
 	}
 	if($txt!=='')
 	{
+		$txt = iconv('utf-8', 'cp1252', $txt);
 		if($align=='R')
 			$dx = $w-$this->cMargin-$this->GetStringWidth($txt);
 		elseif($align=='C')