[mapserver-users] wms_encoding

Eichner, Andreas - SID-NLKM Andreas.Eichner at sid.sachsen.de
Mon Jul 9 00:44:46 PDT 2012


Hi,

> so I add "wms_encoding=ISO-8859-1" in METADATA/WEB. But I 
> don't understand why the result is not similar in OpenLayers 
> and qgis.

if this is the case, you usually broke the path of encodings. You should
check the URL requested by the browser and by QGIS. Then send that query
via "wget -d" or similar to see the headers too. With a XHTML
GetFeatureInfo response there are actually three places to tell the
encoding: the HTTP response headers, the XML declaration and a
http-equiv meta within the HTML document header. If this is not
consistent the result depends on what will be preferred.

Hopefully you can track this down.


More information about the mapserver-users mailing list