commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SANDBOX-412) Escaped line separators are not supported
Date Thu, 08 Mar 2012 11:30:57 GMT
Escaped line separators are not supported
-----------------------------------------

                 Key: SANDBOX-412
                 URL: https://issues.apache.org/jira/browse/SANDBOX-412
             Project: Commons Sandbox
          Issue Type: Bug
          Components: CSV
            Reporter: Emmanuel Bourg
             Fix For: CSV 1.0


Commons CSV doesn't handle escaped line separators, for example:

{code}
value1;value2;value3a\
value3b
{code}

In this case the expected result is:

{code}["value1", "value2", "value3a\nvalue3b"]{code}

This kind of escaping is produced by MySQL, whether the field enclosing is enabled or not.
It's possible to see enclosing quotes and escaped line separators like this:

{code}
"value1";"value2";"value3a\
value3b"
{code}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message