How can I check my file's encoding and line endings?

You can use the Notepad program in Windows to check both file's encoding and line endings.

On Unix, run the following command:

$ file myfile.csv
myfile.csv: UTF-8 Unicode text

An ideal output would be UTF-8 Unicode text or UTF-8 Unicode English text, with very long lines.