Skip to content
Snippets Groups Projects
Commit 27247706 authored by Prasad's avatar Prasad
Browse files

Merge branch 'byte_order_mark' into 'master'

byte order mark hint for spreadsheets

should fix #162 giving spreadsheets a hint for the encoding of the csv file

See merge request !55
parents 3ec7a932 0d5b99ab
No related branches found
No related tags found
No related merge requests found
......@@ -4281,7 +4281,7 @@ class ReportRun extends CRMEntity
$arr_val = $reportData['data'];
$fp = fopen($fileName, 'w+');
fputs($fp,chr(239) . chr(187) . chr(191));//UTF-8 byte order mark
if(isset($arr_val)) {
$csv_values = array();
// Header
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment