3 Commits

Author SHA1 Message Date
John Beard
83ea3397c3 CSV: quote everything to avoid locale-dependency
Avoids having to reason about locales where the decimal separator
is a comma.

This should still work for IO purposes (checked in LibreOffice, numbers
still end up right aligned as expected).
2025-05-24 18:22:33 +08:00
jean-pierre charras
9ede0ef25b CSV_WRITER(wxOutputStream& aStream) fix issue with non ASCII7 chars.
When writing non ASCII7 chars (using UTF8 encoding), the number of bytes to
write is bigger than the number of "chars", so the written lines were
truncated.
2025-05-05 15:55:55 +02:00
John Beard
4c8b971021 Eeschema: Symbol editor: pin table CSV interchange
This adds the ability to export the pin table content to a CSV file
or the clipboard as CSV, then re-import it from CSV or TSV. This allows:

* to round-trip pin table data via a spreadsheet program, so that the pin
  data can be manipulated in a richer/more familiar editing environment
* an import method to bring in tabular pin data from other formats
  "semi-automatically", without having to write a full-blown symbol generator.

Relates-To: https://gitlab.com/kicad/code/kicad/-/issues/19207
2025-05-03 23:22:35 +08:00