Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/ChartExportHelper.java @ 7688:9509359c8db8
(issue1632) Use DOS line endings
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Thu, 12 Dec 2013 16:26:21 +0100 |
parents | ef99781bcec7 |
children | 9211f8cafe8a |
comparison
equal
deleted
inserted
replaced
7687:f4b3861712a4 | 7688:9509359c8db8 |
---|---|
297 try { | 297 try { |
298 writer = new CSVWriter( | 298 writer = new CSVWriter( |
299 new OutputStreamWriter( | 299 new OutputStreamWriter( |
300 out, | 300 out, |
301 DEFAULT_ENCODING), | 301 DEFAULT_ENCODING), |
302 DEFAULT_CSV_SEPARATOR); | 302 DEFAULT_CSV_SEPARATOR, '"', '\\', "\r\n"); |
303 } | 303 } |
304 catch(UnsupportedEncodingException uee) { | 304 catch(UnsupportedEncodingException uee) { |
305 log.warn("Wrong encoding for CSV export."); | 305 log.warn("Wrong encoding for CSV export."); |
306 return; | 306 return; |
307 } | 307 } |