[mapserver-users] Character encoding in Query Results

mapcyp erbugcelebi at gmail.com
Tue Sep 8 04:48:37 EDT 2009


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.



-- 
View this message in context: http://n2.nabble.com/Character-encoding-in-Query-Results-tp3601960p3601960.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list