[Mapserver-users] Umlauts in labels
Berend Veldkamp
berend.veldkamp at aris.nl
Fri Dec 13 02:41:31 PST 2002
Björn,
That depends on what character set your data is in, and the
characterset MapServer (or more specific: the GD library) uses to draw
labels. These two should match if you want special characters to
appear correctly.
For instance, if your dataset is encoded as iso-8859-1 (western europe
charset) the character ö (o-umlaut) has 'ascii-value' 246. But if
mapserver uses us-ascii to draw labels, it will appear as ÷ (divide
sign), because that's what character 246 is in us-ascii. (ö is at
position 148).
I have no idea how to set this, if it's possible at all. If not, it
might be a nice enhancement to MapServer.
If your database is not too large you can always convert it from one
character set to another, but that may have impact on other
application that use the same dataset.
Berend
Björn Platzen wrote:
>
> Hello list,
>
> I have made a small mapserver-application with HTML-Templates using ms 3.5 on
> RH Linux 7.? .
> Now, it's the map of a German Town (Aachen) and in most of the streetnames
> there are umlauts (ß, ü, ö, ...).
> Is there any way to support Umlauts in Labels with MapServer?
>
> Thanks in advance for any help.
>
> Bjoern Platzen.
> --
> small office solutions
> info at sosnetz.de - http://www.sosnetz.de
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
--
___________________
ARIS
http://www.aris.nl/
___________________
More information about the MapServer-users
mailing list