My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 17: Quote new line characters
2 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by Roman.Bi...@uspto.gov, Nov 21, 2014
What steps will reproduce the problem?
1. Trying to generate a CSV file with 3 fields A, B, C
2. A - Number, B - Short name, C - Text entered by user (Element C might have multiple lines).

What is the expected output? What do you see instead?
Expecting to get valid CSV file with Quoted element C when element C has multiple lines, instead getting element C partially shifted to the next line.

What version of the product are you using? On what operating system?
<groupId>com.googlecode.jcsv</groupId>
<artifactId>jcsv</artifactId>
<version>1.4.0</version>

Please provide any additional information below.


Jun 30, 2015
#1 christop...@gmail.com
I stumbled upon the same problem.

The default CSVColumnJoiner only quotes values that contain at least one quote. So I ended up writing a custom CSVColumnJoiner that quotes all values.

Powered by Google Project Hosting