[ 
https://issues.apache.org/jira/browse/CSV-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joern Huxhorn updated CSV-294:
------------------------------
    Description: 
CSVFormat.DEFAULT or at least CSVFormat.RFC4180 should have escape character 
set to '"' as defined in [RFC 
4180|https://datatracker.ietf.org/doc/html/rfc4180].

7. If double-quotes are used to enclose fields, then a double-quote
appearing inside a field must be escaped by preceding it with
another double quote. For example:

"aaa","b""bb","ccc"

 

I just realized that '"' {*}doesn't work as escape character at all{*}. This... 
isn't good.

 

Related issue:

https://issues.apache.org/jira/browse/CSV-150

  was:
CSVFormat.DEFAULT or at least CSVFormat.RFC4180 should have escape character 
set to '"' as defined in [RFC 
4180|https://datatracker.ietf.org/doc/html/rfc4180].

7. If double-quotes are used to enclose fields, then a double-quote
appearing inside a field must be escaped by preceding it with
another double quote. For example:

"aaa","b""bb","ccc"

 

Related issue:

https://issues.apache.org/jira/browse/CSV-150


> Missing escape character in CSVFormat.DEFAULT/RFC4180
> -----------------------------------------------------
>
>                 Key: CSV-294
>                 URL: https://issues.apache.org/jira/browse/CSV-294
>             Project: Commons CSV
>          Issue Type: Bug
>    Affects Versions: 1.9.0
>            Reporter: Joern Huxhorn
>            Priority: Major
>
> CSVFormat.DEFAULT or at least CSVFormat.RFC4180 should have escape character 
> set to '"' as defined in [RFC 
> 4180|https://datatracker.ietf.org/doc/html/rfc4180].
> 7. If double-quotes are used to enclose fields, then a double-quote
> appearing inside a field must be escaped by preceding it with
> another double quote. For example:
> "aaa","b""bb","ccc"
>  
> I just realized that '"' {*}doesn't work as escape character at all{*}. 
> This... isn't good.
>  
> Related issue:
> https://issues.apache.org/jira/browse/CSV-150



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to