OldTruckDriver opened a new pull request, #606: URL: https://github.com/apache/commons-csv/pull/606
Fixes CSV-326. `CSVFormat#printWithQuotes(Reader, Appendable)` escaped embedded quote characters but did not escape a configured escape character. When a Reader value contained an escape character immediately before a quote, `CSVPrinter` could emit CSV that the same format could not parse back. This updates the Reader quoted printing path to escape both quote and escape characters, matching the `CharSequence` printing path's round-trip behavior. Added a regression test for Reader printing with an escape character before a quote. Tests: - `mvn -q test` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
