From: Phillip B. <phi...@gm...> - 2005-05-26 13:48:40
|
Hello, I'm using csvjdbc to generate letters from a csv file. However one of the fields happens to be the body of the letters, which has line breaks. The current version of csvjdbc strips out the line break and so the body of my letter has no line breaks so i made a change to the CSVReaderAdapter class so that it preserves these breaks. I saw this listed as a bug on the sourceforge page so I thought i might forward the change along. I don't know if this would be a good default behavior for everyone, but it might make a good option. line 247 change=20 value =3D value.substring(0,value.length()-1); to value =3D value.substring(0,value.length()-1) +"\n";=20 Best Regards, Phillip Blevins |