[kmymoney] [Bug 395047] New: Exported csv file from categories does not follow RFC 4180 standard
Ralf Habacker
bugzilla_noreply at kde.org
Tue Jun 5 08:51:31 UTC 2018
https://bugs.kde.org/show_bug.cgi?id=395047
Bug ID: 395047
Summary: Exported csv file from categories does not follow RFC
4180 standard
Product: kmymoney
Version: 4.7.0
Platform: unspecified
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: exporter
Assignee: kmymoney-devel at kde.org
Reporter: ralf.habacker at freenet.de
Target Milestone: ---
Created attachment 113087
--> https://bugs.kde.org/attachment.cgi?id=113087&action=edit
test file
How to reproduce:
1. Open appended kmymoney file
2. Choose file->export->csv
3. Choose output file
4. Choose type "categories"
5. Choose account "girokonto"
6. select ',' as delimiter
7. start export
What happens ?
The exporter generates a csv file with the following content:
interest,I
income,I
income,subincome,I
fees,E
expense,E
expense,subexpense,E
What is expected ?
RFC 4180 standard for csv files (see
https://en.wikipedia.org/wiki/Comma-separated_values#RFC_4180_standard) states:
1. Each record "should" contain the same number of comma-separated fields
2. An optional header record
3. Any field may be quoted (with double quotes).
4. Fields containing a line-break, double-quote or commas should be quoted. (If
they are not, the file will likely be impossible to process correctly).
Issue 3. and 4. are covered by bug 395025, issue 2 is a "nice to have feature"
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list