Bug #22089 [Com]: fgetcsv does not like \r\n inside text content

From: Date: Mon, 07 Mar 2011 19:16:04 +0000
Subject: Bug #22089 [Com]: fgetcsv does not like \r\n inside text content
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-159290@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=22089&edit=1 ID: 22089 Comment by: jbedder at gmail dot com Reported by: jolyon at mways dot co dot uk Summary: fgetcsv does not like \r\n inside text content Status: No Feedback Type: Bug Package: Filesystem function related Operating System: Linux PHP Version: 4.2.3 Block user comment: N Private report: N New Comment: While doing a data dump via phpmyadmin of a sugar module this issue cropped up making import into a new version of Sugar impossible. Previous Comments: ------------------------------------------------------------------------ [2003-02-19 04:38:42] sniper@php.net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2003-02-06 10:09:20] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-02-06 04:46:55] jolyon at mways dot co dot uk When importing a line with fgetcsv, if a text string contains \r\n characters it messes up the import as fgetcsv incorrectly believes it to be the end of the line. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=22089&edit=1

« previous php.bugs (#159290) next »