small change

This commit is contained in:
2025-01-21 10:23:49 +01:00
parent 251fbfcd33
commit 9b74f92a4c
57 changed files with 331 additions and 286 deletions
+7 -1
View File
@@ -4,9 +4,15 @@ if (Auth::user()->hasRole('User')) :
$nameuser = $_SESSION["nameuser"];
//$pdf->Cell(120,6,'Intendo sottoporre questo modello a sorveglianza (presso CIMAC)',1,0,'C');
//$pdf->Cell(70,6,$trfData['surveillanceselectoption'],1,0,'C',TRUE);
if (!mb_check_encoding($statement, 'UTF-8')) {
$statement = utf8_encode($statement); // Forza la codifica in UTF-8
}
$statement = html_entity_decode($statement);
$statement = iconv('UTF-8', 'windows-1252', $statement);
$statement = mb_convert_encoding($statement, 'windows-1252', 'UTF-8');
//$statement = iconv('UTF-8', 'iso-8859-1', $statement);
$addstatement = html_entity_decode($addstatement);
$addstatement = iconv('UTF-8', 'windows-1252', $addstatement);
//$addstatement = iconv('UTF-8', 'iso-8859-1', $addstatement);