[Mapbender-commits] r2663 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jul 15 05:38:01 EDT 2008


Author: verenadiewald
Date: 2008-07-15 05:38:01 -0400 (Tue, 15 Jul 2008)
New Revision: 2663

Modified:
   trunk/mapbender/http/php/mod_wfs_gazetteer_server.php
Log:
json charset is mapbender charset

Modified: trunk/mapbender/http/php/mod_wfs_gazetteer_server.php
===================================================================
--- trunk/mapbender/http/php/mod_wfs_gazetteer_server.php	2008-07-14 11:59:46 UTC (rev 2662)
+++ trunk/mapbender/http/php/mod_wfs_gazetteer_server.php	2008-07-15 09:38:01 UTC (rev 2663)
@@ -146,7 +146,8 @@
 	$mygml = new gml2();
 	$mygml->parseFile($req);
 	
-	header("Content-type:application/x-json; charset=utf-8");
+	header("Content-type:application/x-json; charset=".CHARSET);
+	
 	echo $mygml->toGeoJSON();
 }
 else {



More information about the Mapbender_commits mailing list