ID: 30097 Updated by: [EMAIL PROTECTED] Reported By: dbeckham at dealnews dot com -Status: Open +Status: Feedback Bug Type: Filesystem function related Operating System: Mac OS X 10.3.5 PHP Version: 5.0.1 New Comment:
Did you try enable automatic EOL detection. Previous Comments: ------------------------------------------------------------------------ [2004-09-15 19:17:01] dbeckham at dealnews dot com Description: ------------ fgetcsv() does not recognize the Macintosh EOL character (\r) as a legitimate EOL marker for a CSV file. Reproduce code: --------------- Read any CSV file that uses Mac EOL markers using fgetcsv(). Expected result: ---------------- fgetcsv() should recognized Mac EOL (\r) markers as the end of a CSV record. Actual result: -------------- The entire file is read as if it's a single CSV record. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30097&edit=1