diff --git a/includes/export/abstract-wc-csv-batch-exporter.php b/includes/export/abstract-wc-csv-batch-exporter.php index 44e03564ca5..04b0f8038e9 100644 --- a/includes/export/abstract-wc-csv-batch-exporter.php +++ b/includes/export/abstract-wc-csv-batch-exporter.php @@ -101,7 +101,7 @@ abstract class WC_CSV_Batch_Exporter extends WC_CSV_Exporter { // Add columns when finished. if ( 100 === $this->get_percent_complete() ) { - $file = $this->export_column_headers() . $file; + $file = chr( 239 ) . chr( 187 ) . chr( 191 ) . $this->export_column_headers() . $file; } $file .= $data; diff --git a/includes/export/abstract-wc-csv-exporter.php b/includes/export/abstract-wc-csv-exporter.php index f35dd8d6809..978df5e2273 100644 --- a/includes/export/abstract-wc-csv-exporter.php +++ b/includes/export/abstract-wc-csv-exporter.php @@ -147,7 +147,7 @@ abstract class WC_CSV_Exporter { public function export() { $this->prepare_data_to_export(); $this->send_headers(); - $this->send_content( $this->export_column_headers() . $this->get_csv_data() ); + $this->send_content( chr( 239 ) . chr( 187 ) . chr( 191 ) . $this->export_column_headers() . $this->get_csv_data() ); die(); }