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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jul 18 10:57:15 EDT 2007


Author: christoph
Date: 2007-07-18 10:57:15 -0400 (Wed, 18 Jul 2007)
New Revision: 1509

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

Modified: trunk/mapbender/http/classes/class_gml2.php
===================================================================
--- trunk/mapbender/http/classes/class_gml2.php	2007-07-18 14:56:27 UTC (rev 1508)
+++ trunk/mapbender/http/classes/class_gml2.php	2007-07-18 14:57:15 UTC (rev 1509)
@@ -44,12 +44,9 @@
 	function parsegml($req){
 		#$data = implode("",file($req));
 		$x = new connector($req);
-		$data = $this->char_encode($x->file);
+		$data = $x->file;
 		$this->parse_xml($data);		 		
 	}
-	function parsestring($data){
-		$this->parse_xml($data);		 		
-	}
 	function parse_xml($data){
 		$section = false;
 		$geom = false;
@@ -183,14 +180,6 @@
 	function getGeometryTypeFromMember($memberCount){
 		return 	$this->geomtype[$memberCount];
 	}
-	
-	function char_encode($s){
-		if(CHARSET == 'UTF-8'){
-			$s = utf8_encode($s);	
-		}
-		return $s;
-	}
-	
 	function exportGeometriesToJS ($isInFrame) {
 		$prefix = "";
 		if ($isInFrame == true) {



More information about the Mapbender_commits mailing list