• Jairo Coelho

    (@jairocoelho)


    I was having trouble exporting the data in CSV, as the accents were coming out unconfigured. So I needed to encode in UTF-8 the CSV before downloading.

    To resolve this, I located the “inc/export-csv.php” file in plugin folder and added the code:

    echo "\xEF\xBB\xBF";

    After:

    $this->download_send_headers( "cfdb7-" . date("Y-m-d") . ".csv" );

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tip: Export to CSV with UTF-8 encoding’ is closed to new replies.