csvwriter: how to prevent escaping delimiter inside quotes? #1374
Replies: 4 comments
-
Closed issue by accident :-) |
Beta Was this translation helpful? Give feedback.
-
Has anybody an idea? |
Beta Was this translation helpful? Give feedback.
-
CsvHelper should not be adding a backslash before commas. Are you sure the data isn't coming to you that way? The only other thing I can think of is some sort of encoding that is escaping the commas. |
Beta Was this translation helpful? Give feedback.
-
Can you create a small sample that reproduces this issue? As @AltruCoder said, CsvHelper doesn't do this by default. |
Beta Was this translation helpful? Give feedback.
-
Hi Josh,
I'm on version 12.1.2.
My configuration is:
The resulting csv:
cbs_grp_g25,"Contruction\, Site","Baustelle ""Grabehaufen"""
I don't want the escaped comma \,
because the consuming side doesn't recognize it and saves the backslash.
Is there a configuration setting to switch off this behaviour?
Best regards,
Alex!
Beta Was this translation helpful? Give feedback.
All reactions