From 56d8c76de84245839e82877c237885faea6d664d Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 19 Mar 2007 16:13:48 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20les=20accents=20n'=E9taient=20pas=20g=E9?= =?UTF-8?q?r=E9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/includes/modules/export/export_csv.modules.php | 2 +- htdocs/includes/modules/export/export_excel.modules.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/includes/modules/export/export_csv.modules.php b/htdocs/includes/modules/export/export_csv.modules.php index 81237280e94..e560e4ec9a5 100644 --- a/htdocs/includes/modules/export/export_csv.modules.php +++ b/htdocs/includes/modules/export/export_csv.modules.php @@ -118,7 +118,7 @@ class ExportCsv extends ModeleExports { foreach($array_selected_sorted as $code => $value) { - fwrite($this->handle,$langs->trans($array_export_fields_label[$code]).";"); + fwrite($this->handle,$langs->transnoentities($array_export_fields_label[$code]).";"); } fwrite($this->handle,"\n"); return 0; diff --git a/htdocs/includes/modules/export/export_excel.modules.php b/htdocs/includes/modules/export/export_excel.modules.php index 569c698a270..edfb3e90fc4 100644 --- a/htdocs/includes/modules/export/export_excel.modules.php +++ b/htdocs/includes/modules/export/export_excel.modules.php @@ -133,7 +133,7 @@ class ExportExcel extends ModeleExports { $alias=$array_export_fields_label[$code]; //print "dd".$alias; - $this->worksheet->write($this->row, $this->col, $langs->trans($alias)); + $this->worksheet->write($this->row, $this->col, $langs->transnoentities($alias)); $this->col++; } $this->row++;