1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00

remove iconv() from Pdf numbering

This commit is contained in:
David Bomba 2022-12-21 22:27:27 +11:00
parent 02899b931e
commit 6d235bcf86

View File

@ -25,7 +25,7 @@ class PDF extends FPDI
$this->SetTextColor(135, 135, 135); $this->SetTextColor(135, 135, 135);
$trans = ctrans('texts.pdf_page_info', ['current' => $this->PageNo(), 'total' => '{nb}']); $trans = ctrans('texts.pdf_page_info', ['current' => $this->PageNo(), 'total' => '{nb}']);
$trans = iconv('UTF-8', 'ISO-8859-7', $trans); // $trans = iconv('UTF-8', 'ISO-8859-7', $trans);
$this->Cell(0, 5, $trans, 0, 0, $this->text_alignment); $this->Cell(0, 5, $trans, 0, 0, $this->text_alignment);
} }