QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Command line tools → dwg2csv
  • Assigned To
    Andrew
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 3.27.8
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 1
    • CVH (03.11.2022)
  • Private
Attached to Project: QCAD Bugtracker
Opened by Jon Scharff - 03.11.2022
Last edited by Andrew - 03.11.2022

FS#2419 - dwg2csv quote handling

When a text string contains a double quote(”) character, the value is not quoted.
If the text string contains a comma, the value is quoted (using double quotes).

When a text string starts with a double quote, it is unclear which of the above two states is correct, making for difficult parsing. (Excel seems to assume the second state when possible)

It would make parsing much easier if the output csv followed the format provided in rfc4180, namely that

If fields are not enclosed with double quotes, then double quotes may not appear inside the fields
(2.5)
If double-quotes are used to enclose fields, then a double-quote appearing inside a field must be escaped by preceding it with another double quote
(2.7)
Closed by  Andrew
03.11.2022 09:55
Reason for closing:  Fixed

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing