[mapserver-users] WMS => GetLegendGraphic : encoding problem

thomas bonfort thomas.bonfort at gmail.com
Wed Mar 19 05:35:40 EDT 2008


hi,

encoding of legend labels was added in 5.0
(http://trac.osgeo.org/mapserver/ticket/2239)
you'll have to add an ENCODING UTF8 to your LABEL block in your LEGEND object

thomas

On Wed, Mar 19, 2008 at 11:13 AM, Sylvain Perrinel
<sylvain.perrinel at agriculture.gouv.fr> wrote:
> Hello
>  I have some problems of encoding with a WMS server on Mapserver and the
>  request "GetLegendGraphic". I have set all my environnement in UTF-8
>  (WMS-Server, WMS-Client, php and html scripts) and my mapfile have the
>  tag "wms_encoding" "utf-8" but if classes have some characters with
>  accents, the encoding is false.
>
>  I use this url :
>  http://url/mapserv?map=n_zone_defavorisee_000_2006.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&LAYER=n_zone_defavorisee_000_2006&Format=image/png
>
>  Is there in this url an encoding issue ?
>
>  You can see an example enclosed in the mail. Thanks
>  --
>  Sylvain Perrinel
>  Ministère de l'Agriculture
>
> _______________________________________________
>  mapserver-users mailing list
>  mapserver-users at lists.osgeo.org
>  http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>


More information about the mapserver-users mailing list