<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,</p>
<p><br>
</p>
<p>Jeff and Stefanos are probably giving good hints about how to render non-western character sets. However, I wonder if Aimee actually wants to have English names everywhere. Is this what you want, Aimee?</p>
<p><br>
</p>
<p>If you have a look the OSM data, for example Moscow </p>
<p><a href="http://www.openstreetmap.org/relation/2555133">http://www.openstreetmap.org/relation/2555133</a> you will notise that the "name" tag has the local name. The English name must be searched from the "name:en" tag.</p>
<p><br>
</p>
<p>Reading about multilingual names in OSM:</p>
<p><a href="https://wiki.openstreetmap.org/wiki/Multilingual_names">https://wiki.openstreetmap.org/wiki/Multilingual_names</a></p>
<p><a href="http://wiki.openstreetmap.org/wiki/Names">http://wiki.openstreetmap.org/wiki/Names</a></p>
<p><br>
</p>
<p>For making an English preferred maps you may want to use COALESCE </p>
<p><a href="https://www.postgresql.org/docs/9.3/static/functions-conditional.html">https://www.postgresql.org/docs/9.3/static/functions-conditional.html</a> for selecting "name:en" if that exists, otherwise select "name".</p>
<p><br>
</p>
<p>-Jukka Rahkonen-<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>Lähettäjä:</b> mapserver-users <mapserver-users-bounces@lists.osgeo.org> käyttäjän puolestaStefanos Anastasiou <emperor_stef@yahoo.gr><br>
<b>Lähetetty:</b> 21. tammikuuta 2017 22:42<br>
<b>Vastaanottaja:</b> aimdev; mapserver-users@lists.osgeo.org<br>
<b>Aihe:</b> [mapserver-users] Σχετ: Place names and language</font>
<div> </div>
</div>
<div>
<div style="color:#000; background-color:#fff; font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size:14px">
<div id="yui_3_16_0_ym19_1_1485030617951_5146"><span id="yui_3_16_0_ym19_1_1485030617951_5309">Hi Aimee,</span></div>
<div id="yui_3_16_0_ym19_1_1485030617951_5146" dir="ltr"><span id="yui_3_16_0_ym19_1_1485030617951_5462">   I had a similar problem a while ago and I was seeing weird boxes and characters on my labels so I was trying to use ENCODING in my mapfile to solve this,
 since "iconv -l" command listed greek as well. Eventually I found out that if I install the fonts for my language (greek), and then reference them correctly in my mapfile with the fonts.list file, it is working perfectly without having to use ENCODING in my
 mapfile. My fonts are truetype fonts so if you try this, add "TYPE truetype" in your label object.  My Mapserver version is 7.0.1.</span></div>
<div id="yui_3_16_0_ym19_1_1485030617951_5146" dir="ltr"><span>   Hope this helps.</span></div>
<div id="yui_3_16_0_ym19_1_1485030617951_5146" dir="ltr"><span><br>
</span></div>
<div id="yui_3_16_0_ym19_1_1485030617951_5146" dir="ltr"><span>Regards,</span></div>
<div id="yui_3_16_0_ym19_1_1485030617951_5146" dir="ltr"><span>Stefanos</span></div>
<div class="qtdSeparateBR"><br>
<br>
</div>
<div class="yahoo_quoted" style="display:block">
<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:01 μ.μ. Σάββατο, 21 Ιανουαρίου 2017, ο/η aimdev <aimdev@mail.com> έγραψε:<br>
</font></div>
<br>
<br>
<div class="y_msg_container">Hi<br>
<br>
I have installed on mapserver a planet file imported using imposm3.<br>
Maps all ok, however, for non english countries,(Middle East/Russia/China etc) the place names  are in the local language<br>
(Arabic/Russian or for China, square boxes).<br>
Is this normal?, or have I messed up somewhere in a mapping?<br>
<br>
Thanks<br>
<br>
Aimee<br>
<br>
mapserver 7.0.3 is the server release.<br>
<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>