[ https://issues.apache.org/jira/browse/CSV-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239364#comment-13239364 ]
Sebb commented on CSV-53: ------------------------- +1 to including an OutputQuoting setting along those lines, e.g. an Enum. Though I don't think we should convert numeric fields to type float! QUOTE_NONE cannot be allowed to generate invalid output, so must either escape or throw an error. So I don't understand what you mean by "a separate parameter". > Allow to always enclose printed values into quotes > -------------------------------------------------- > > Key: CSV-53 > URL: https://issues.apache.org/jira/browse/CSV-53 > Project: Commons CSV > Issue Type: Improvement > Components: Printer > Reporter: Emmanuel Bourg > Fix For: 1.x > > > The printer encloses the values into quotes only if it contains a special > character like a field separator or a line separator. However some > applications expect the values to always be enclosed into quotes. It's > necassary to be able to control how the quotes are added, either always or as > needed. -- 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