asafdav / ng-csv

Simple directive that turns arrays and objects into downloadable CSV files
MIT License
573 stars 215 forks source link

Getting blank lines when the generated CSV is sent to Windows machine from a Mac #114

Open rahul-desai3 opened 8 years ago

rahul-desai3 commented 8 years ago

The problem is similar to the one mentioned here: http://stackoverflow.com/questions/16864683/empty-space-in-between-rows-after-using-writer-in-python

Is there a solution for this?

Thanks, Rahul

MattSidor commented 8 years ago

Have you tried using the add-bom attribute?

add-bom: Add the Byte Order Mark, use this option if you are getting an unexpected char when opening the file on any windows App.