When I am exporting to CSV using this directive the french accented characters are coming like à which means it is taking as UTF8. If the encoding is set to ANSI ideally this should work. Please note that I am using a button. Also we have tried to use charset attribute but still it does not work
Something like below line normally works when using anchor tags
data:text/csv;charset=utf-8,%EF%BB%BF
When I am exporting to CSV using this directive the french accented characters are coming like à which means it is taking as UTF8. If the encoding is set to ANSI ideally this should work. Please note that I am using a button. Also we have tried to use charset attribute but still it does not work
Something like below line normally works when using anchor tags data:text/csv;charset=utf-8,%EF%BB%BF
Desired Output : Numéro d'employeur;Date de mise à jour annuelle;Numéro de police Actual Output : Numéro d'employeur;Date de mise à jour annuelle;Numéro de police