[mapserver-users] French characters in a map file

Stepan Kafka stepan.kafka at centrum.cz
Tue Nov 26 16:31:31 EST 2002


I have good experience with convert names to UNICODE charset. It works for
labels in map as well as legend labels. You aslo may use new legend
template, where labels are in HTML text (see documentation).

Stepan Kafka

> -----Pùvodní zpráva-----
> Od: owner-mapserver-users at lists.gis.umn.edu
> [mailto:owner-mapserver-users at lists.gis.umn.edu]za uživatele Debbie
> Pagurek
> Odesláno: 26. listopadu 2002 17:01
> Komu: mapserver-users at lists.gis.umn.edu
> Pøedmìt: [mapserver-users] French characters in a map file
>
>
> Hi everyone,
> I am trying to translate one of my applications into French and I
> am running into problems with French characters in my mapfile,
> and the legend generation.
>
> see this excerpt from my mapfile layer:
>
>   CLASS
>     EXPRESSION '0' #dummy class for title
>     NAME 'Écozones'
>     COLOR 255 255 255
>     OUTLINECOLOR 255 255 255
>   END  # CLASS
>   CLASS
>     EXPRESSION '1'
>     NAME 'Cordillcre arctique'
>     COLOR 204 255 255
>   END  # CLASS
>
> The first class name Écozones appears properly in my legend, but
> the second one, Cordillcre arctique, does not.  Please see the
> attached image of the resulting legend.
>
> So... does anyone know how to get French accents to appear
> properly in a legend??
>
> Thanks,
> D. Pagurek
>
>




More information about the mapserver-users mailing list