feat change encoding
This commit is contained in:
parent
a1c8efcbb7
commit
c68347419a
@ -108,7 +108,7 @@ class PacemakerAbsentCertificatePdfHandler extends FPDF
|
|||||||
|
|
||||||
// Texte principal avec genre adapté
|
// Texte principal avec genre adapté
|
||||||
$mainText = $pronom . ', ' . $civilite . ' ' .
|
$mainText = $pronom . ', ' . $civilite . ' ' .
|
||||||
$this->devisOfDefunt['thanato_prenom'] . ' ' . $this->devisOfDefunt['thanato_nom'] .
|
mb_convert_encoding(html_entity_decode($this->devisOfDefunt['thanato_prenom']), 'ISO-8859-1', 'UTF-8'). ' ' .mb_convert_encoding(html_entity_decode($this->devisOfDefunt['thanato_nom']), 'ISO-8859-1', 'UTF-8').
|
||||||
', ' . $profession . ', certifie ne pas avoir constaté, à la palpation, la présence d\'un pacemaker pour :';
|
', ' . $profession . ', certifie ne pas avoir constaté, à la palpation, la présence d\'un pacemaker pour :';
|
||||||
|
|
||||||
$this->MultiCell(0, 6, FileExportHelpers::FormatTextForExport($mainText));
|
$this->MultiCell(0, 6, FileExportHelpers::FormatTextForExport($mainText));
|
||||||
@ -118,7 +118,7 @@ class PacemakerAbsentCertificatePdfHandler extends FPDF
|
|||||||
$this->SetFont('Arial', 'B', 12);
|
$this->SetFont('Arial', 'B', 12);
|
||||||
$this->Cell(20, 8, 'Nom :', 0, 0);
|
$this->Cell(20, 8, 'Nom :', 0, 0);
|
||||||
$this->SetFont('Arial', '', 12);
|
$this->SetFont('Arial', '', 12);
|
||||||
$this->Cell(0, 8, FileExportHelpers::FormatTextForExport($this->devisOfDefunt['defunt_nom']), 0, 1);
|
$this->Cell(0, 8, FileExportHelpers::FormatTextForExport(mb_convert_encoding(html_entity_decode($this->devisOfDefunt['defunt_nom']), 'ISO-8859-1', 'UTF-8')), 0, 1);
|
||||||
$this->Ln(3);
|
$this->Ln(3);
|
||||||
|
|
||||||
// Date
|
// Date
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user