Skip to content

Problem with DOS line ending (0x0d, 0x0a) #49

@SzigetiJ

Description

@SzigetiJ

In unix-like systems, if the last cell gets escaped, the final " character will be put after the 0x0d (carriage return) character. Thus the <CR><LF> sequence will become <CR>"<LF>.
What to do:

  • Maybe put a simple warning into the doc;
  • or write a warning to stderr;
  • or equip csvconv with transformation capability;
  • or automatically detect newline type.

Note, I expect similar problem with input files with unix-style line endings running on DOS-like systems.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions