Opened 15 years ago
Last modified 14 years ago
#3148 new defect
Encoding problem in Query Result
Reported by: | erce | Owned by: | sdlime |
---|---|---|---|
Priority: | high | Milestone: | 5.6 release |
Component: | MapServer CGI | Version: | unspecified |
Severity: | normal | Keywords: | character encoding |
Cc: | assefa |
Description
I am using esri 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.
see also http://trac.osgeo.org/mapserver/ticket/3297