correction suite à passage en utf-8

This commit is contained in:
Michael RICOIS 2010-02-15 09:22:01 +00:00
parent 3ce5e22121
commit 50990d5a90

View File

@ -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');
}