Property EscapeCharacter
EscapeCharacter
Gets or sets the character that escapes a quote character inside a quoted field. Defaults to
null, which reads two quotes as one literal quote, the RFC 4180 convention.
public char? EscapeCharacter { get; set; }
Property Value
- char?
Remarks
Set this only for a file written with escape-prefix quoting, where a quote inside a value is preceded by this character rather than doubled. Setting it to the quote character is the same as leaving it unset. It has to match how the file was written, because the two conventions read the same bytes as different values.