Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.1.6

Request #8054 Compatibility for tab delimited text
Submitted: 2006-06-28 11:36 UTC
From: derernst Assigned: wiesemann
Status: Closed Package: Structures_DataGrid_DataSource_CSV (version CVS)
PHP Version: 4.3.9 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2006-06-28 11:36 UTC] derernst (Markus Ernst)
Description: ------------ Changing line 67 of DataSource/CSV.php from $row = trim($row); // to remove DOSish \r to $row = rtrim($row); // to remove DOSish \r ^ makes this driver useable for tab delimited text simply by setting the delimiter option to "\t". I don't know if tab delimited text is actually a common format; I just remember that it was the preferred export format for e-mail address books on the Mac years ago. Anyway the change is minimal and has no impact on any other functionalities.

Comments

 [2006-06-28 12:29 UTC] wiesemann (Mark Wiesemann)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.