commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CSV-56) Do not use exotic escape characters for sequences like \r or \n
Date Tue, 21 Jan 2014 07:00:21 GMT

    [ https://issues.apache.org/jira/browse/CSV-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13877283#comment-13877283
] 

Emmanuel Bourg commented on CSV-56:
-----------------------------------

Ok, sounds fine.

> Do not use exotic escape characters for sequences like \r or \n
> ---------------------------------------------------------------
>
>                 Key: CSV-56
>                 URL: https://issues.apache.org/jira/browse/CSV-56
>             Project: Commons CSV
>          Issue Type: Improvement
>          Components: Parser
>            Reporter: Emmanuel Bourg
>            Priority: Minor
>             Fix For: 1.0
>
>
> The parser is able to recognize escape sequences like  "\r" and "\n", and transform them
automatically. But if the format is changed to use another escape character like "!", the
parser will also replace "!n" and "!r", which is rather unusual.
> The replacement should be independent from the escape character defined in the format.
This escape character should only be used to escape a delimiter, a quote or a line separator.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message