Hi ledger folk,
I would like to import ledger data into my go program. It looks like csv gets me pretty close, but I am running into a problem with how escaping is done.
The go stdlib csv implementation is based on rfc 4180, which says that for double quotes to appear inside a field, they should be escaped with another double-quote i.e.
"field 1","this is ""another"" field"
but the csv that ledger is outputting escapes things like this:
"field 1","this is \"another\" field"
Is there a reasonable way to convince ledger to escape things according to rfc 4180? Is there maybe another path besides csv I should be looking at?
thanks
- Gina