[mapserver-users] wms_encoding
scott159 at free.fr
scott159 at free.fr
Mon Jul 9 12:44:21 PDT 2012
In a mapfile, I believe it's not possible to specify two different "wms_encoding" on a same layer. So, if I want to response with requests from openlayers and qgis, I must configure data in mapfile with two different layers (layer1 with wms_encoding=ISO-8859-1, layer2 with wms_encoding=UTF8 ?
is it ok ?
----- Mail original -----
De: "Andreas Eichner - SID-NLKM" <Andreas.Eichner at sid.sachsen.de>
À: scott159 at free.fr, mapserver-users at lists.osgeo.org
Envoyé: Lundi 9 Juillet 2012 09:44:46
Objet: AW: [mapserver-users] wms_encoding
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