[mapserver-users] GetfeatureInfo-Request in an UTF-8 environment with shapfile in cp-1252

Milo van der Linden milo at dogodigi.net
Wed Feb 9 03:41:31 EST 2011


Hello Andreas;

What return type of getfeatureinfo are you using?
There are three possibilities: http://mapserver.org/ogc/wms_server.html

1. text/plain
2. text/html
3. gml

If you use text/html; you can set the character encoding to windows ansi:

http://www.w3.org/International/questions/qa-html-encoding-declarations#quicklookup

If you use GML, because it is a "flavour" of XML, mapserver MUST serve
UNICODE:(UTF-8 or UTF-16);http://www.w3.org/TR/REC-xml/#sec-well-formed  So
if the gml output is not converted to unicode; please file a ticket for this
matter in the osgeo trac database.


2011/2/8 Tom van der Putte <tom at vdputte.nl>

> Hi Andreas,
>
> i looked it up, you can find it here:
>
> http://resources.arcgis.com/content/kbase?fa=articleShow&d=21106
>
> Unfortunately I'm not aware of any means to automate the process of
> exporting the shapefiles, so you'd have to do it by hand.
>
> Tom
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110209/096ca3e4/attachment.html


More information about the mapserver-users mailing list