commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Hill (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SANDBOX-218) CSV reader doesn't handle older Mac line endings
Date Wed, 12 Jan 2011 22:14:46 GMT

    [ https://issues.apache.org/jira/browse/SANDBOX-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980964#action_12980964
] 

Tom Hill commented on SANDBOX-218:
----------------------------------

This isn't just "Older Mac Line Endings". 

The current version of Excel (2008 for Mac) generates CSV files with just a carriage return,
which commons CSV cannot read.

> CSV reader doesn't handle older Mac line endings
> ------------------------------------------------
>
>                 Key: SANDBOX-218
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-218
>             Project: Commons Sandbox
>          Issue Type: Bug
>          Components: CSV
>            Reporter: Trejkaz
>             Fix For: CSV 1.0
>
>         Attachments: SANDBOX-218.patch
>
>
> Older Mac OS line endings which just have \r don't get treated as line endings by the
current CSV parser.
> Most likely the simplest way to get around this is to delegate to a BufferedReader to
reuse its line ending code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message