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  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 24 + 6 = ?

 
 [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.