Tab Delimited File : Stop Quoting Fields with Quote in the Data (and stop Escaping data's Quote) #2224
Answered
by
JoshClose
chadbruels
asked this question in
Q&A
-
I'm creating a tab delimited file with the code above and the consuming party does not want data quoted (and as a by-product not escaped either). I have description fields which have double quotes in the data. How do I stop CsvHelper from automatically wrapping the field in quote and escaping the double quote in the data? Is this done at a field-by-field basis or can I specify one config value to apply to all fields in the file? |
Beta Was this translation helpful? Give feedback.
Answered by
JoshClose
Jan 30, 2024
Replies: 1 comment 2 replies
-
You can either set |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ShouldQuote = (_, _) => false
or if old C# lang too
ShouldQuote = (field, context) => false