correction suite à passage en utf-8
This commit is contained in:
parent
3ce5e22121
commit
50990d5a90
@ -52,8 +52,6 @@ if($nomFic == ''){
|
||||
$count = 0;
|
||||
$nbAnnonces = count($annonces);
|
||||
|
||||
|
||||
|
||||
if($nbAnnonces>0){
|
||||
foreach($annonces as $annonce){
|
||||
if($count>$nbAnnoncesMax) break;
|
||||
@ -119,7 +117,7 @@ if($nomFic == ''){
|
||||
// conversion HTML => PDF
|
||||
require_once 'html2pdf/html2pdf.class.php';
|
||||
$html2pdf = new HTML2PDF('P','A4','fr');
|
||||
$html2pdf->WriteHTML($output);
|
||||
$html2pdf->WriteHTML(utf8_decode($output));
|
||||
$html2pdf->Output(str_replace('.csv', '.pdf', $nomFic), 'D');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user