Jason A. Guild created CSV-263:
----------------------------------
Summary: Print from Reader with embedded quotes generates
incorrect output
Key: CSV-263
URL: https://issues.apache.org/jira/browse/CSV-263
Project: Commons CSV
Issue Type: Bug
Components: Printer
Affects Versions: 1.8
Reporter: Jason A. Guild
I have found a problem in v1.8 where output with embedded quotes supplied from
Reader is incorrectly escaping. When data read from the Reader starts with an
embedded quote, output quote escaping is unbalanced and cannot be subsequently
parsed/loaded.
Subsequent embedded quotes are correctly escaped.
input data:
{{"A" ASKED "B" ANOTHER QUESTION.}}
output:
{{""""A"" ASKED ""B"" ANOTHER QUESTION."}}
expected output:
{{"""A"" ASKED ""B"" ANOTHER QUESTION."}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)