<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">G'day.<div><br></div><div>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.<div>cheers</div><div><br></div><div>Ben</div><div><br></div><div><br><div><div>On 09/09/2009, at 24:00 , <a href="mailto:mapserver-users-request@lists.osgeo.org">mapserver-users-request@lists.osgeo.org</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span style="font-family: Helvetica; font-size: medium; color: rgb(127, 127, 127); "><b>From:<span class="Apple-converted-space">&nbsp;</span></b></span><span style="font-family: Helvetica; font-size: medium; ">mapcyp &lt;<a href="mailto:erbugcelebi@gmail.com">erbugcelebi@gmail.com</a>&gt;<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span style="font-family: Helvetica; font-size: medium; color: rgb(127, 127, 127); "><b>Date:<span class="Apple-converted-space">&nbsp;</span></b></span><span style="font-family: Helvetica; font-size: medium; ">8 September 2009 4:48:37 PM AWST<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span style="font-family: Helvetica; font-size: medium; color: rgb(127, 127, 127); "><b>To:<span class="Apple-converted-space">&nbsp;</span></b></span><span style="font-family: Helvetica; font-size: medium; "><a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span style="font-family: Helvetica; font-size: medium; color: rgb(127, 127, 127); "><b>Subject:<span class="Apple-converted-space">&nbsp;</span></b></span><span style="font-family: Helvetica; font-size: medium; "><b>[mapserver-users] Character encoding in Query Results</b><br></span></div><br><br><br>Hi All,<br><br>I am using a shapefile that contians Turkish charaters (iso-8859-9) in my<br>MapServer application. I can display Labels properly on the map with the<br>following configuration:<br><br>LAYER<br>.....<br>LABEL<br><span class="Apple-tab-span" style="white-space: pre; ">        </span>MINDISTANCE 150<br><span class="Apple-tab-span" style="white-space: pre; ">        </span>PARTIALS false<br><span class="Apple-tab-span" style="white-space: pre; ">        </span>TYPE truetype<br><span class="Apple-tab-span" style="white-space: pre; ">        </span>FONT "serif"<br><span class="Apple-tab-span" style="white-space: pre; ">        </span>SIZE 10<br><span class="Apple-tab-span" style="white-space: pre; ">        </span>POSITION CC<br><span class="Apple-tab-span" style="white-space: pre; ">        </span>OUTLINECOLOR 254 254 254<br><span class="Apple-tab-span" style="white-space: pre; ">        </span>COLOR 0 0 0<br><span class="Apple-tab-span" style="white-space: pre; ">        </span>ENCODING ISO-8859-9<br>END<span class="Apple-tab-span" style="white-space: pre; ">        </span><br>....<br>END<br><br>My problem arise when I get the result of my queries. The query results<br>contain wrong character as in the following.<br><span class="Apple-tab-span" style="white-space: pre; ">        </span>Name<span class="Apple-tab-span" style="white-space: pre; ">        </span>Population<span class="Apple-tab-span" style="white-space: pre; ">        </span>Area<br>&nbsp;<span class="Apple-tab-span" style="white-space: pre; ">        </span>Dumlup�nar<span class="Apple-converted-space">&nbsp;</span><span class="Apple-tab-span" style="white-space: pre; ">        </span>2702<span class="Apple-converted-space">&nbsp;</span><span class="Apple-tab-span" style="white-space: pre; ">        </span>68km2 &lt;&lt;&lt;&lt;---- The character that has ? mark is wrong.<br><br>I have tried to solve this problem by defining LAYER_ENCODING in LAYER<br>section, and ENCODING in MAP section but the result was the same.<br><br>Is there any suggestion to get the query results in ISO-8859-9 format?<br><br>Thanks in advance.<br><br></span></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><br class="Apple-interchange-newline">--&nbsp;</div><div><br>Ben Madin<br>REMOTE INFORMATION<br><br>t : +61 8 9192 5455<br>f : +61 8 9192 5535<br>m : 0448 887 220<br>Broome &nbsp;&nbsp;WA &nbsp;&nbsp;6725<br><br><a href="mailto:ben@remoteinformation.com.au">ben@remoteinformation.com.au</a><br><br><br><br><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>Out here, it pays to know...<br><br></div></span>
</div>
<br></div></div></body></html>