[mapserver-users] Character encoding in Query Results

Ben Madin ben at remoteinformation.com.au
Tue Sep 8 14:47:40 PDT 2009


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-request at lists.osgeo.org wrote:

> From: mapcyp <erbugcelebi at gmail.com>
> Date: 8 September 2009 4:48:37 PM AWST
> To: mapserver-users at 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

ben at remoteinformation.com.au



							Out here, it pays to know...


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090909/8a6b1823/attachment.htm>


More information about the MapServer-users mailing list