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

CSVFormat.EXCEL.parse should handle byte order marks

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.x
    • Component/s: Parser
    • Labels:
      None

      Description

      The CSVFormat.EXCEL.parse should consider the byte order marks when reading the input stream. Files with a byte order mark fail to properly parse.

      In my example, I have a starting byte order mark before my headers in a CVS file. The parse fails when trying to get the header via the CSVRecord.get call.

      I marked this as critical because many users will interact with Windows user which will most likely have BOM files.

        Attachments

        1. csv-bom.diff
          32 kB
          Gary D. Gregory
        2. vod.csv
          11 kB
          Kenzley Alphonse

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kenzley Kenzley Alphonse

              Dates

              • Created:
                Updated:

              Time Tracking

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

                Issue deployment