[PATCH 2 of 2] (issue1632) Use DOS line endings

Wald Commits scm-commit at wald.intevation.org
Thu Dec 12 16:26:25 CET 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1386861981 -3600
# Node ID 9509359c8db8500113d22d747bf8fc4c4255ce88
# Parent  f4b3861712a4bef8d82017ad7efe1480d855ab4e
(issue1632) Use DOS line endings

diff -r f4b3861712a4 -r 9509359c8db8 artifacts/src/main/java/org/dive4elements/river/exports/ChartExportHelper.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/ChartExportHelper.java	Thu Dec 12 16:01:40 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/ChartExportHelper.java	Thu Dec 12 16:26:21 2013 +0100
@@ -299,7 +299,7 @@
                 new OutputStreamWriter(
                     out,
                     DEFAULT_ENCODING),
-                DEFAULT_CSV_SEPARATOR);
+                DEFAULT_CSV_SEPARATOR, '"', '\\', "\r\n");
         }
         catch(UnsupportedEncodingException uee) {
             log.warn("Wrong encoding for CSV export.");


More information about the Dive4elements-commits mailing list