Skip to content

BUG: 463246 fix CSV parster for import

Alexander Kuznetsov requested to merge smithey/kmymoney:bug-463246 into master

BUG: 463246

csv parser supports: double-quotes and inner commas for quote-enclosed values for example (source csv line):

" "",""""","""a""",x""","""""",abc,"","""test,test"""," "",""""",xyz,foo," "","""""

will be parsed into (values):

cell: [",""] <- note: first space was trimmed
cell: ["a"]
cell: [x"""] <- string contains some double quotes
cell: [""]
cell: [abc]
cell: []
cell: ["test,test"]
cell: [",""] <- note: first space was trimmed
cell: [xyz]
cell: [foo]
cell: [",""]
Edited by Alexander Kuznetsov

Merge request reports

Loading