CodableCSV icon indicating copy to clipboard operation
CodableCSV copied to clipboard

Update default row delimiter for CSVReader

Open LiYanan2004 opened this issue 1 year ago • 0 comments

Change default row delimiter to .standard to avoid additional \r in some fields

Description

In some cases, new line are represented as \r\n and in some cases, \n. This behavior is different on different OSs and even different apps.

The built-in .standard is a better solution to handle this. In this way, we can more accurately get every field.

Checklist

The following list must only be fulfilled by code-changing PRs. If you are making changes on the documentation, ignore these.

  • [x] Include in-code documentation at the top of the property/function/structure/class (if necessary).
  • [x] Merge to develop.
  • [x] Add to existing tests or create new tests (if necessary).

LiYanan2004 avatar Jun 26 '23 15:06 LiYanan2004