Excel has 2 options for outputting csv
files:
- 'CSV UTF-8' yields
UTF-8 Unicode English text, with very long lines, with CR line terminators
- 'Comma Separated Values' yields
Non-ISO extended-ASCII English text, with very long lines, with CRLF line terminators
The first option gives you UTF8 encoding but ends lines with this weird ^M
character, which is a DOS thing. The second gives you nice unix line breaks but has ASCII encoding which is no good.
So what you need to do is export as 'CSV UTF-8' and then do the following (to make that ^M
you need to hit ctrl-V ctrl-M):