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

Do not use exotic escape characters for sequences like \r or \n

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

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Patch Needed, 1.x
    • Component/s: Parser
    • Labels:
      None

      Description

      The parser is able to recognize escape sequences like "\r" and "\n", and transform them automatically. But if the format is changed to use another escape character like "!", the parser will also replace "!n" and "!r", which is rather unusual.

      The replacement should be independent from the escape character defined in the format. This escape character should only be used to escape a delimiter, a quote or a line separator.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ebourg Emmanuel Bourg

              Dates

              • Created:
                Updated:

                Issue deployment