diff src/java/de/intevation/mxd/writer/MapScriptWriter.java @ 261:efab4d62ad3c

Replace umlauts in layer title.
author raimund renkert <raimund.renkert@intevation.de>
date Tue, 16 Aug 2011 16:56:26 +0200
parents 8fe9ccc77962
children ad05f72ef9e4
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/writer/MapScriptWriter.java	Tue Aug 16 14:32:06 2011 +0200
+++ b/src/java/de/intevation/mxd/writer/MapScriptWriter.java	Tue Aug 16 16:56:26 2011 +0200
@@ -277,6 +277,7 @@
             }
 	    String lname = layerElement.getAttribute("name");
 	    lname = msutils.removeSpecialChars(lname);
+	    lname = msutils.replaceUmlauts(lname);
 	    String ulname = group.replaceAll("/", ".") + "." + lname;
 	    if(ulname.startsWith(".")) {
 	        ulname = ulname.substring(1);
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)