[mapserver-users] RE: character encoding shape file with german umlaute
Jeff McKenna
jmckenna at gatewaygeomatics.com
Thu Apr 28 04:04:11 PDT 2011
For any future readers, this is documented at
http://mapserver.org/mapfile/labelencoding.html
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
On 11-04-28 4:57 AM, karsten vennemann wrote:
> No stop.
> setting
> ENCODING 'LATIN1'
> in the label fixed it :)
> Sorry for the disturbance
> Karsten
>
> ------------------------------------------------------------------------
> *From:* karsten vennemann [mailto:karsten at terragis.net]
> *Sent:* Thursday, April 28, 2011 00:55
> *To:* 'mapserver-users at lists.osgeo.org'
> *Subject:* character encoding shape file with german umlaute
>
> Hi List,
> I had some trouble with getting correct character encoding to work
> with MapServer and with german Umlauten (ÄÜÖ and ß).
> For a PostGIS layer I got it fixed setting thepermanent variable
> 'client encoding' to LATIN1 does the trick ;) The db otherwise is
> utf8 , the system german locale (which has impact really anyway for
> he most part).
> However I have now trouble also with labels from a shape file based
> MapServer WMS which show screwed up as some symbols . The attributes
> are showing correctly inside the dbf table. The same layers just
> 'worked' on the old server - however something must be different on
> the new one since that is just came up with the move. Is there
> anything I can look for to coax MapServer to correctly encode label
> test annotations ?
> I tried setting
> ENCODING 'LATIN1'
> in the label to no avail ..
> Cheers
> Karsten
>
> Terra GIS LTD
> www.terragis.net <http://www.terragis.net>
>
More information about the MapServer-users
mailing list