[Tickets #2026] CSV classes don't hande Mac line breaks well

bugs@bugs.horde.org bugs at bugs.horde.org
Sat Jun 4 16:04:33 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://dev.horde.org/horde/whups/ticket/?id=2026
-----------------------------------------------------------------------
 Ticket             | 2026
 Updated By         | kevin_myer at iu13.org
 Summary            | CSV classes don't hande Mac line breaks well
 Queue              | Horde Framework Packages
 State              | Feedback
 Priority           | 2. Medium
 Type               | Enhancement
 Owners             | 
-----------------------------------------------------------------------


kevin_myer at iu13.org (2005-06-04 16:04) wrote:

I thought File_CSV already handled this in the discoverFormat function:

// Set auto detect line ending for Mac EOL support if < PHP 4.3.0.         
$phpver = version_compare('4.1.0', phpversion(), '<');         
if ($phpver) {
             $oldini = ini_get('auto_detect_line_endings');
             ini_set('auto_detect_line_endings', '1');
         }




More information about the bugs mailing list