def table2csv(tabledata, fq_outfilename, header, encoding, exporter):
    """Write table to CSV."""
    delimiter = ';'
    quotechar = '"'
    exporter(tabledata, fq_outfilename, header, encoding, delimiter, quotechar)
