<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:14px"><div id="yiv2465331461"><div id="yui_3_16_0_1_1445876394335_13613"><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:14px;" id="yui_3_16_0_1_1445876394335_13612"><div id="yiv2465331461yui_3_16_0_1_1445876394335_11330"><span id="yiv2465331461yui_3_16_0_1_1445876394335_11329">Thanks for the reply.</span></div><div id="yiv2465331461yui_3_16_0_1_1445876394335_11328"><span><br clear="none"></span></div><div dir="ltr" id="yiv2465331461yui_3_16_0_1_1445876394335_11327"><span id="yiv2465331461yui_3_16_0_1_1445876394335_11331">Stephen: (it turned out I didn't have the shapelib installed. Do I have to recompile MapServer from scratch now?)</span></div><div dir="ltr" id="yiv2465331461yui_3_16_0_1_1445876394335_11327"><span><br clear="none"></span></div><div dir="ltr" id="yiv2465331461yui_3_16_0_1_1445876394335_11327"><span id="yiv2465331461yui_3_16_0_1_1445876394335_11773">dbfdump gives me this: </span>out.txt: ISO-8859 text </div><div dir="ltr" id="yiv2465331461yui_3_16_0_1_1445876394335_11327"><br clear="none"></div><div dir="ltr" id="yiv2465331461yui_3_16_0_1_1445876394335_11327">The glyph indeed exists. It's there</div><div dir="ltr" id="yiv2465331461yui_3_16_0_1_1445876394335_11327"><br clear="none"></div><div dir="ltr" id="yiv2465331461yui_3_16_0_1_1445876394335_11327">Thomas: Thanks for the clarification. I wasn't aware of that. This encoding that dbfdump says I'm having is ISO-8859.. just that and of course iconv complains it's not supported. RFC suggests all characters should iconv'd to UTF-8. Am I right? </div><div dir="ltr" id="yiv2465331461yui_3_16_0_1_1445876394335_11327"><br></div><div dir="ltr" id="yiv2465331461yui_3_16_0_1_1445876394335_11327"><br></div><div dir="ltr" id="yiv2465331461yui_3_16_0_1_1445876394335_11327">-Stefanos</div><div dir="ltr" id="yiv2465331461yui_3_16_0_1_1445876394335_11327"><br clear="none"></div> <br clear="none"><div class="yiv2465331461qtdSeparateBR" id="yui_3_16_0_1_1445876394335_13626"><br clear="none"><br clear="none"></div><div class="yiv2465331461yqt9773034307" id="yiv2465331461yqt10026"></div></div></div></div><div class=".yiv2465331461yahoo_quoted"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:14px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr"> <font size="2" face="Arial"> Στις 8:25 μ.μ. Δευτέρα, 26 Οκτωβρίου 2015, ο/η thomas bonfort <thomas.bonfort@gmail.com> έγραψε:<br clear="none"> </font> </div> <br clear="none"><br clear="none"> <div class="yiv2465331461y_msg_container">Stefanos,<br clear="none">First off, you *need* to know the encoding that's actually used by<br clear="none">each datasource, there's no way of guessing that reliably<br clear="none">programmatically. And since MapServer 7, the ENCODING keyword has been<br clear="none">moved to the LAYER level:<br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://mapserver.org/development/rfc/ms-rfc-103.html">http://mapserver.org/development/rfc/ms-rfc-103.html</a><br clear="none">If you have the possibility, and/or in the future, always use UTF8<br clear="none">inside your datasources.<br clear="none"><br clear="none">regards,<br clear="none">thomas<br clear="none"><div class="yiv2465331461yqt9701641083" id="yiv2465331461yqtfd39894"><br clear="none">On 26 October 2015 at 19:16, Stefanos Anastasiou <<a rel="nofollow" shape="rect" ymailto="mailto:emperor_stef@yahoo.gr" target="_blank" href="mailto:emperor_stef@yahoo.gr">emperor_stef@yahoo.gr</a>> wrote:<br clear="none">> Hello everybody.<br clear="none">><br clear="none">> I'm having a small issue with truetype and encoding in greek. Instead of<br clear="none">> normal letters I'm getting weird symbols or even shapes.<br clear="none">><br clear="none">> iconv -l | grep {GREEK | ISO-8859-7 | WINDOWS-1253} are all<br clear="none">> present in the system.<br clear="none">><br clear="none">><br clear="none">> My Mapserver version:<br clear="none">><br clear="none">> MapServer version 7.0.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ<br clear="none">> SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=ICONV SUPPORTS=XMP<br clear="none">> SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER<br clear="none">> SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI<br clear="none">> SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE<br clear="none">><br clear="none">><br clear="none">> My LABEL object in my code is the following:<br clear="none">><br clear="none">> LABEL<br clear="none">> TYPE truetype<br clear="none">> FONT arial<br clear="none">> SIZE 6<br clear="none">> PARTIALS TRUE<br clear="none">> ENCODING GREEK<br clear="none">> END<br clear="none">><br clear="none">> I also tried ENCODING ISO-8859-7 and WINDOWS-1253. But getting symbols<br clear="none">> instead of letters. The closest to human readable is with encoding UTF-8...<br clear="none">> but still.<br clear="none">><br clear="none">> I'm probably missing something here.What is the problem ?</div><br clear="none">><br clear="none">><br clear="none">><br clear="none">><br clear="none">><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> mapserver-users mailing list<br clear="none">> <a rel="nofollow" shape="rect" ymailto="mailto:mapserver-users@lists.osgeo.org" target="_blank" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br clear="none">> <a rel="nofollow" shape="rect" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><div class="yiv2465331461yqt9701641083" id="yiv2465331461yqtfd93801"><br clear="none"></div><br clear="none"><br clear="none"></div> </div> </div> </div></div></body></html>