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

Commons CSV EXCELL_STRATEGY is reading CSV files with double quote and comma properly but not writing them back the same way

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0
    • None
    • None

    Description

      original line: My line is containing ", symbols
      line in CSV file after "Save as CSV" in Excell: "My line containing "", symbols"
      line is CSV file as output from CSVPrinter with EXCELL_STRATEGY: "My line containing \", symbols"

      as a result when you will try to open that file in the excell you see text inside two cells:
      1 cell: My line containing \
      2 cell: symbols

      is it again Microsoft "features", that are "improving" RFC?

      Attachments

        1. CSVPrinter.java
          8 kB
          Ram
        2. CSVPrinter.java-patch
          0.9 kB
          Ram
        3. CSVPrinterTest.patch
          0.7 kB
          Ram

        Issue Links

          Activity

            People

              Unassigned Unassigned
              iegoshin Ilya Egoshin
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: