News for hackers. Stuff that matters.
Re:Show HN: Comma Separated Values (CSV) to Unicode Separate... by lelanthran on Tuesday March 12, 2024 @12:33PM (#39681472)
> Not quite. What if there is a \ in your data? Then you have to escape that.

No problem, any character following a `\` is a literal character. `\\` => literal `\`. `\,` => literal comma. `\a` => literal `a`, etc.

Parsing this is easy, generating it is easy, and there is only one rule to remember for humans reading or generating it.

Each rule added for parsing is one more added complexity and point of failure.

There are no comments on this comment yet.