3 ms·
Why not create a transformation function which uses some heuristics to take a non-compliant sort-of-CSV and turn it into a CSV. Doing so doesn't mean that it i
by lhnz 9y ago
Why not create a transformation function which uses some heuristics to take a non-compliant sort-of-CSV and turn it into a CSV.
Doing so doesn't mean that it is CSV, it just means you can parse it.
- jacobush 9y agoWhy would you do that?
- lhnz 9y agoI guess I would do it, because I could then be explicit about the differences between the two, and explicit about how I would decode something if it was indeterminate.
- andreareina 9y agoThat non-compliant sort-of-CSV can be cleanly (i.e. without errors) decoded as several "dialects", producing multiple different results, of which only one (or none) will be correct.