[Mapbender-commits] r1510 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jul 18 10:58:31 EDT 2007


Author: christoph
Date: 2007-07-18 10:58:31 -0400 (Wed, 18 Jul 2007)
New Revision: 1510

Modified:
   trunk/mapbender/http/classes/class_kml.php
Log:
removed char_encode

Modified: trunk/mapbender/http/classes/class_kml.php
===================================================================
--- trunk/mapbender/http/classes/class_kml.php	2007-07-18 14:57:15 UTC (rev 1509)
+++ trunk/mapbender/http/classes/class_kml.php	2007-07-18 14:58:31 UTC (rev 1510)
@@ -53,7 +53,7 @@
 			return false;
 		}
 		
-		$this->kml = $this->char_encode($data);
+		$this->kml = $data;
 
 		$parser = xml_parser_create(CHARSET);
 		xml_parser_set_option($parser,XML_OPTION_CASE_FOLDING,0);
@@ -167,12 +167,6 @@
 		return $kml;
 	}
 
-	function char_encode($s){
-		if(CHARSET == 'UTF-8'){
-			$s = utf8_encode($s);	
-		}
-		return $s;
-	}
 } 
 // end class
 ?>
\ No newline at end of file



More information about the Mapbender_commits mailing list