CSV.jl icon indicating copy to clipboard operation
CSV.jl copied to clipboard

Inconsistent escaping

Open robsmith11 opened this issue 4 months ago • 0 comments

Unless stringtype is set to String, it looks like double quote escaping doesn't work correctly:

shell> cat /tmp/a.csv
x,y
1,"{""a"": 2, ""b"": """"}"

julia> first(CSV.Rows("/tmp/a.csv")).y |> println
{"a": 2, "b": """}

julia> first(CSV.Rows("/tmp/a.csv", stringtype=String)).y |> println
{"a": 2, "b": ""}

robsmith11 avatar Sep 08 '25 18:09 robsmith11