I'm afraid this is a bug and should be reported in Trac. There's no code
in the template output that
capitalizes on the encoding values set elsewhere. One approach might be
to add encoding support
to the [item ...] tag. If you'd file a ticket along with a simple test
case I'd appreciate it.

Steve

>>> On 9/8/2009 at 3:48 AM, in message
<1252399717919-3601960.p...@n2.nabble.com>,
mapcyp <erbugcel...@gmail.com> wrote:

> 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.ht

> ml
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to