Thank you,

But my problem is not concerning labels but the raster with polylines.
I'm aware that there is a solution for labels.
I'm interestring with the solution for the geometry returned by my classification.

Best regards

Laurent

Le 25/06/2008 13:09, > Tamas Szekeres (par Internet) a écrit  :
Hi,

It seem you should have libiconv compiled in, and specify the encoding
in the label definitions, like:

LABEL
  ...
  ENCODING ISO-8859-1
END


Best regards,

Tamas



2008/6/25 "SAEZ Laurent - CETE Méditerr./DI/ETER"
<[EMAIL PROTECTED]>:
Hi list,

Encoding in expression is not very simple...
I have :

mapserver 4.99,
a mapfile utf-8 encoded,
a mapinfo file create on windows (encoding cp1252),
one class using a field which contain this value : "Départementale".

If I write in the mapfile the following expression :
...
CLASS
NAME "Départementale"
EXPRESSION "Départementale"
...

This class is not in the raster returned by the WMS/GetMap request.
To obtain this class I have to encode the string expression in the same
encoding than the data (mapinfo tab) :

CLASS
NAME "Départementale"
EXPRESSION "D�partementale"

So it's strange to encode a string in cp1252 (or iso-8859-1) in a file
encoding in utf-8.

Is there a way to tell mapserver that my layer is cp1252 encoded ?

Thanks for help


_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to