WordPress.org

Forums

Import CSV with Ultimate CSV Importer
[resolved] CSV Line Endings (2 posts)

  1. honestcode
    Member
    Posted 2 years ago #

    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 fgetcsv was not properly recognizing the line endings of the CSV file.

    At the top of the function csv_file_data in 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!

    http://wordpress.org/extend/plugins/wp-ultimate-csv-importer/

  2. smackcoders
    Member
    Plugin Author

    Posted 2 years ago #

    Honestcode, thank you for your kind feedback. I will note this down and will correct it in next release. Thank you once again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Import CSV with Ultimate CSV Importer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic