angular-ui/ui-grid

CSV export does not display certain ASCII characters correctly

Open

#5092 aperta il 10 feb 2016

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
grid-exporterhelp wanted

Metriche repository

Star
 (5395 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

If the data that is being exported has non-standard ascii characters such as the Euro symbol or a bullet, the encoding in the CSV file displays them incorrectly. When I enable the 'exporterOlderExcelCompatibility' flag, the symbols are displayed correctly but I lose my newlines.

I created a plunkr to easily test these two use cases: http://plnkr.co/hn0WNVNOi9VIWsATdy0F

Guida contributor