adding utf8 format

This commit is contained in:
Marc Ducobu 2015-02-27 12:58:27 +01:00
parent ebc5e6ea11
commit 3f92b6bf4d

View File

@ -176,7 +176,7 @@ class ReportController extends Controller
'cf_group' => $cFGroup
));
$response->headers->set('Content-Type', 'text/csv');
$response->headers->set('Content-Type', 'text/csv; charset=utf-8');
$response->headers->set('Content-Disposition', 'attachment; filename="export.csv"');
return $response;
}