diff --git a/gestion/lib/Service/Certificate/PdfHandler/PacemakerAbsentCertificatePdfHandler.php b/gestion/lib/Service/Certificate/PdfHandler/PacemakerAbsentCertificatePdfHandler.php index 1caf7f6..fd789c6 100644 --- a/gestion/lib/Service/Certificate/PdfHandler/PacemakerAbsentCertificatePdfHandler.php +++ b/gestion/lib/Service/Certificate/PdfHandler/PacemakerAbsentCertificatePdfHandler.php @@ -108,7 +108,7 @@ class PacemakerAbsentCertificatePdfHandler extends FPDF // Texte principal avec genre adapté $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 :'; $this->MultiCell(0, 6, FileExportHelpers::FormatTextForExport($mainText)); @@ -118,7 +118,7 @@ class PacemakerAbsentCertificatePdfHandler extends FPDF $this->SetFont('Arial', 'B', 12); $this->Cell(20, 8, 'Nom :', 0, 0); $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); // Date