SdfDataset support for double quotes and multiple lines in field
Original Reporter info from Mantis:
-
Reporter name:
Original Reporter info from Mantis:
- Reporter name:
Description:
RFC 4180 describes that "s in a field need to be escaped to "".
It also describes that lines containing CRLF should be quoted by "s.
Sdfdata does not yet support this, but it does support quoting strings containing the delimiters.
Implementing this would ease import in applications like OpenOffice/LibreOffice.
Attached patch fixes output side for both multiline and quotes. Haven't looked at input side, might be that the escaped double quotes may need to be handled separately.
Steps to reproduce:
Output sdfdata containing fields with CRLF or double quotes.
Mantis conversion info:
- Mantis ID: 19376
- OS: Windows
- OS Build: Vista
- Platform: Windows Vista
- Version: 2.4.3
- Fixed in version: 3.0.0
- Fixed in revision: 21491 (#efe53626)
- Target version: 2.6.1