commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SANDBOX-216) CSVWriter does not escape commas and quotes
Date Tue, 06 Mar 2012 08:52:58 GMT

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

Emmanuel Bourg resolved SANDBOX-216.
------------------------------------

    Resolution: Won't Fix

The CSVWriter class and its package have been removed from Commons CSV. CSVPrinter should
be used instead.
                
> CSVWriter does not escape commas and quotes
> -------------------------------------------
>
>                 Key: SANDBOX-216
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-216
>             Project: Commons Sandbox
>          Issue Type: Bug
>          Components: CSV
>            Reporter: David Wallace Croft
>             Fix For: CSV 1.0
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> When CSVWriter is provided a field value of "Hello, \"Bob\"!", it writes it out directly
instead of wrapping it in quotes and escaping the internal quotes.  See the Wikipedia entry
on CSV:
> http://en.wikipedia.org/wiki/Comma-separated_values

--
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