Uploaded image for project: 'Commons CSV'
  1. Commons CSV
  2. CSV-11

CSVWriter does not escape commas and quotes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                croft David Wallace Croft
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3h
                  3h
                  Remaining:
                  Remaining Estimate - 3h
                  3h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified