View Issue Details

IDProjectCategoryView StatusLast Update
0013366mantisbtcsvpublic2011-10-16 14:24
ReporterVeMag Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version1.2.8 
Summary0013366: CSV file doesn't include BOM
Description

the 9034 issue is for ALL mantis version using UTF-8

Excel and many other programs can read UTF-8 only if the "BOM" is present in the file. (see http://en.wikipedia.org/wiki/Byte_order_mark )

Steps To Reproduce

in MyAccount > Preferences > choose Language = "french"
go to "Afficher les bogues" (=View Issues)
use "Export CSV"
The file is :
Id,Projet,Rapporteur,Assigné à,Priorité,Impact,Reproductibilité,...
...

Additional Information

with BOM, it works fine:
adding the line :
echo "\xEF\xBB\xBF";
just before starting writing columns headers make it works.
(found on http://www.php.net/manual/en/function.fwrite.php#55054)

https://github.com/mantisbt/mantisbt/blob/master/csv_export.php#L77

Thank you from France !

TagsNo tags attached.

Relationships

duplicate of 0009034 closedrombert CSV Export with special chars dont work properly 

Activities

There are no notes attached to this issue.