CSV Line Endings
-
When trying to import a CSV file created on a Mac, the import would fail, saying it didn’t recognize the delimiter. After poking around, I realized it was because the PHP function
fgetcsvwas not properly recognizing the line endings of the CSV file.At the top of the function
csv_file_datain the plugin, I added the following line:ini_set("auto_detect_line_endings", true);which corrected the problem. Thought you’d like to know. 🙂 Thanks for the plugin!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘CSV Line Endings’ is closed to new replies.