php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22089 fgetcsv does not like \r\n inside text content
Submitted: 2003-02-06 04:46 UTC Modified: 2003-02-19 04:38 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: jolyon at mways dot co dot uk Assigned:
Status: No Feedback Package: Filesystem function related
PHP Version: 4.2.3 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-02-06 04:46 UTC] 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. 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-19 04:38 UTC] 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.


 [2011-03-07 20:16 UTC] jbedder at gmail dot com
While doing a data dump via phpmyadmin of a sugar module this issue cropped up making import into a new version of Sugar impossible.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 13:01:29 2024 UTC