I am using python's csv
module and using quotes to contain the field that contains the separator.
The file a.txt
looks like the following:
ab, ",cd"
And i get the following that indicates that it did not escape the comma in double quotes.
In [27]: with open('a.txt', newline='') as csvfile:
...: reader = csv.reader(csvfile, delimiter=',')
...: for row in reader:
...: if row:
...: print(row)
...:
['ab', ' "', 'cd"']