[PATCH 7 of 8] issue971: Include encoding parameter hardwiredly in csv export panels

Wald Commits scm-commit at wald.intevation.org
Wed Sep 25 12:17:00 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1380104566 -7200
# Node ID fc42d82aa71cab1040963112020307d43b99d40a
# Parent  6efa25f97f7e12c8c3ca012488106144cb21e919
issue971: Include encoding parameter hardwiredly in csv export panels
download link.

diff -r 6efa25f97f7e -r fc42d82aa71c gwt-client/src/main/java/org/dive4elements/river/client/client/ui/ExportPanel.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/ExportPanel.java	Wed Sep 25 12:21:45 2013 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/ExportPanel.java	Wed Sep 25 12:22:46 2013 +0200
@@ -120,6 +120,7 @@
             imgUrl += MSG.downloadWST();
         }
         else  if (facet.equals("csv")) {
+            url += "&encoding=windows-1252";
             imgUrl += MSG.downloadCSV();
         }
         else {


More information about the Dive4elements-commits mailing list