HowTo change the field delimiter when exporting bugs to .csv

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
STS

HowTo change the field delimiter when exporting bugs to .csv

Post by STS »

I use to export the reported bugs daily into a csv-file. The field delimiter here is... comma, as the format reads... ;-)
But: The users use to write in the headline texts including commas, and therefore I every day have to delete these commas into the resulting csv-file by using an editor.
Question: How can I customize the field delimiter for the csv-export-function ? E.g. I would prefer a µ-charakter or maybe a ~, so that the commas of the bugreporters will not further be interpreted as a delimiter.

Thanks a lot for your help in advance.
vboctor
Site Admin
Posts: 1304
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

You will need to override the following configuration option:

# --- CSV Export ---------------
# Set the csv separator
$g_csv_separator = ',';

Regards,
Victor
Subscribe to Mantis blog
http://www.futureware.biz/
Post Reply