[Mapserver-users] French Labels

Liz Godwin godwinl at agr.gc.ca
Thu Jul 10 11:22:48 PDT 2003


There was indeed some funny business going on with the dbf file.  
I did some type conversion on the field in question and exported it from access to update the shapefile.  It is ok
now.

Thanks for the help,

Liz

>>> Daniel Morissette <morissette at dmsolutions.ca> 07/10/03 12:15PM >>>
I would suggest that you make sure the label field in your DBF uses the
same character encoding as your font.  In general fonts should be in
ISOLatin-1 (ISO-8859-01) encoding.  Depending on which software
generated the DBF, the file may be in some old DOS codepage encoding.

I'm not sure of the best way to fix your DBF file... hopefully the
software that generates the DBF offers a way to chose the encoding for
the accents, or maybe you could try editing the file in Excel.

Daniel


Liz Godwin wrote:
> 
> Hello,
> 
> I having problem with labels having french accents in my map.  The characters are displayed as boxes instead of "é"
for
> example.
> 
> My Label class is as follows:
>       LABEL
>         TYPE TRUETYPE
>         FONT "fritqat"
>         SIZE 8
>         POSITION AUTO
>         BUFFER 2
>         COLOR 0 0 0
>         OUTLINECOLOR 255 255 255
>         ANTIALIAS TRUE
>         PARTIALS FALSE
>       END
> 
> I have looked at the DBF file belonging to the shapefile, and the accents are present.
> 
> Another layer I use that looks up a placename and adds it to the map works fine.  The label it adds includes the
> accented character.
> 
> It is only that these map labels are not displaying correctly.
> 
> Help would be appreciated.
> 
> Liz Godwin
>
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu 
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list