Skip to content

Is DKVP not safe as an input format? #1078

Answered by johnkerl
trantor asked this question in Q&A
Discussion options

You must be logged in to vote

DKVP is completely non-escaped and requires fields without , or = in them -- or more generally without whatever the FS and PS are

One option is use less-common FS and PS, like \001 and \002

But what it really needs is double-quoting (like CSV has) or some escaping (like TSV has) -- which is #266 -- and which (sadly) has been open a loooong time. :(

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@trantor
Comment options

@trantor
Comment options

@johnkerl
Comment options

Answer selected by trantor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants