Sorry I just realised I got the expected and actual from my test the wrong way around (I'm replacing the parser used by an existing test). Yes your right I had overridden the escape character to be "\". Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
From your question I am assuming you are talking about the CSVWriter?
If so it is actually using the escape character it is just that the default escape character for CSVWriter is the quote.
Just use one of the CSVWriter constructor that sets the escape character and set it to what you want.
Sorry I just realised I got the expected and actual from my test the wrong way around (I'm replacing the parser used by an existing test). Yes your right I had overridden the escape character to be "\". Thanks!
Not a problem - I like problems with simple fixes :)