G'day.

Someone else has probably answered by now, but if it is a rendering issue only you could try putting the character set into the !DOCTYPE or meta headers.
cheers

Ben


On 09/09/2009, at 24:00 , mapserver-users-requ...@lists.osgeo.org wrote:

From: mapcyp <erbugcel...@gmail.com>
Date: 8 September 2009 4:48:37 PM AWST
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Character encoding in Query Results



Hi All,

I am using a shapefile that contians Turkish charaters (iso-8859-9) in my MapServer application. I can display Labels properly on the map with the
following configuration:

LAYER
.....
LABEL
        MINDISTANCE 150
        PARTIALS false
        TYPE truetype
        FONT "serif"
        SIZE 10
        POSITION CC
        OUTLINECOLOR 254 254 254
        COLOR 0 0 0
        ENCODING ISO-8859-9
END     
....
END

My problem arise when I get the result of my queries. The query results
contain wrong character as in the following.
        Name    Population      Area
Dumlup�nar 2702 68km2 <<<<---- The character that has ? mark is wrong.

I have tried to solve this problem by defining LAYER_ENCODING in LAYER
section, and ENCODING in MAP section but the result was the same.

Is there any suggestion to get the query results in ISO-8859-9 format?

Thanks in advance.



--

Ben Madin
REMOTE INFORMATION

t : +61 8 9192 5455
f : +61 8 9192 5535
m : 0448 887 220
Broome   WA   6725

b...@remoteinformation.com.au



                                                        Out here, it pays to 
know...


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

Reply via email to