[Schmitzm-commits] r441 - branches/1.0-gt2-2.6/src/schmitzm/geotools/styling
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Oct 5 16:53:54 CEST 2009
Author: alfonx
Date: 2009-10-05 16:53:54 +0200 (Mon, 05 Oct 2009)
New Revision: 441
Modified:
branches/1.0-gt2-2.6/src/schmitzm/geotools/styling/StylingUtil.java
Log:
* Switched to UTF-8
Modified: branches/1.0-gt2-2.6/src/schmitzm/geotools/styling/StylingUtil.java
===================================================================
--- branches/1.0-gt2-2.6/src/schmitzm/geotools/styling/StylingUtil.java 2009-10-05 13:33:45 UTC (rev 440)
+++ branches/1.0-gt2-2.6/src/schmitzm/geotools/styling/StylingUtil.java 2009-10-05 14:53:54 UTC (rev 441)
@@ -1088,7 +1088,7 @@
* {@link Style} to save
* @param charset
* The charset to use for the XML, e.g. <?xml version="1.0"
- * encoding="ISO-8859-1"?>. If null, ISO-8859-1 is used.
+ * encoding="UTF-8"?>. If null, non is set, the default is used?!
*
* @throws TransformerException
* @throws IOException
@@ -1115,7 +1115,7 @@
}
/**
- * Saves the {@link Style} to OGC SLD using ISO-8859-1 as charset.
+ * Saves the {@link Style} to OGC SLD using UTF-8 as charset.
* Overwrites any existing file.
*
* @param style
@@ -1129,7 +1129,7 @@
*/
public static final void saveStyleToSLD(Style style, File exportFile)
throws TransformerException, IOException {
- saveStyleToSLD(style, exportFile, Charset.forName("ISO-8859-1"));
+ saveStyleToSLD(style, exportFile, null);
}
/**
More information about the Schmitzm-commits
mailing list