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

This commit is contained in:
Mark Crane 2015-01-29 08:36:49 +00:00
parent 8a895958e8
commit 3c475f1e1f
1 changed files with 1 additions and 0 deletions

View File

@ -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')