CSV export result incorrect with diacritics

Hello,

I am using the grid control to display data and export it in CSV format. Everything works fine except when the data contains diacritics.

For example, I am getting the following result:

Nome,Documento de identificação,Código,Observações
Ana Catarina,084379,00077,Importado.
João Tomás,778831,00078,Importado.

The correct result should be:

Nome,Documento de identificação,Código,Observações
Ana Catarina,084379,00077,Importado.
João Tomás,778831,00078,Importado.

Code to export the data:

private SfGrid<ImportedUser> GridImportResult { get; set; }

...

private async Task ExportCSVAsync()
{
   ExcelExportProperties exportProperties = new();
   exportProperties.FileName = "ImportResult.csv";
   await GridImportResult.CsvExport(exportProperties);
}

Any help would be appreciated. Thank you.

Kind regards,
Álvaro



3 Replies 1 reply marked as answer

JP Jeevakanth Palaniappan Syncfusion Team April 28, 2021 02:24 PM UTC

Hi Álvaro , 
 
Greetings from Syncfusion support. 
 
We have validated your query and we would like to inform you that the Diacritics is not support in the CSV export. So this is not an issue with Syncfusion Exporting feature. Please refer the below general links for your reference. 


Regards, 
Jeevakanth SP. 


Marked as answer

ÁD Álvaro Domingues Alves April 28, 2021 05:39 PM UTC

Hi Jeevakanth.

Thank you.

Regards,
Álvaro



JP Jeevakanth Palaniappan Syncfusion Team April 29, 2021 05:46 AM UTC

Hi Álvaro  

You are welcome. Please get back to us if you have any other queries. 

Regards, 
Jeevakanth SP. 


Loader.
Up arrow icon