<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Walter,<br><br>I see. Seems that the patch <br>transliterate_filter.patch<br>was never committed. <br><br>@Steve:<br>Maybe you forgot about it because Felix never confirmed that it works for him?<br><br>Gerd<br><br><div><hr id="stopSpelling">From: Walter.Schloegl-Resch@aon.at<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Date: Sun, 11 Jan 2015 00:25:25 +0100<br>Subject: Re: [mkgmap-dev] Solution to show transliterated name if no other        ascii name exists<br><br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>


<div dir="ltr">
<div style="FONT-SIZE:10pt;FONT-FAMILY:'Arial';COLOR:#000000;">
<div>Hi Gerd,</div>
<div>&nbsp;</div>
<div>here I found a mail from Steve Ratcliffe where this syntax was 
working.</div>
<div>&nbsp;&nbsp;&nbsp; <font style=""><font style="FONT-SIZE:12pt;">name:int!=* &amp; name=* {set name='${name|ascii:} 
${name}' </font></font></div>
<div><a title="http://gis.19327.n5.nabble.com/Command-to-transliterate-Characters-Cyrillic-Greek-into-latin1-even-for-Unicode-maps-td5810132.html" style="" href="http://gis.19327.n5.nabble.com/Command-to-transliterate-Characters-Cyrillic-Greek-into-latin1-even-for-Unicode-maps-td5810132.html" target="_blank">http://gis.19327.n5.nabble.com/Command-to-transliterate-Characters-Cyrillic-Greek-into-latin1-even-for-Unicode-maps-td5810132.html</a></div>
<div>&nbsp;</div>
<div>Do you know any other solution how to use the transliterated name?</div>
<div>&nbsp;</div>
<div>I only know the way to change the char code, </div>
<div>but in that case the original name cannot be combined with the 
transliterated name.</div>
<div>&nbsp;</div>
<div>Walter</div>
<div style="FONT-SIZE:small;TEXT-DECORATION:none;FONT-FAMILY:&quot;Calibri&quot;;FONT-WEIGHT:normal;COLOR:#000000;FONT-STYLE:normal;DISPLAY:inline;">
<div style="FONT:10pt tahoma;">
<div>&nbsp;</div>
<div style="BACKGROUND:#f5f5f5;">
<div style=""><b>From:</b> <a title="gpetermann_muenchen@hotmail.com" href="mailto:gpetermann_muenchen@hotmail.com">Gerd Petermann</a> </div>
<div><b>Sent:</b> Saturday, January 10, 2015 5:01 PM</div>
<div><b>To:</b> <a title="mkgmap-dev@lists.mkgmap.org.uk" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a> 
</div>
<div><b>Subject:</b> Re: [mkgmap-dev] Solution to show transliterated name if no 
other ascii name exists</div></div></div>
<div>&nbsp;</div></div>
<div style="FONT-SIZE:small;TEXT-DECORATION:none;FONT-FAMILY:&quot;Calibri&quot;;FONT-WEIGHT:normal;COLOR:#000000;FONT-STYLE:normal;DISPLAY:inline;">
<div dir="ltr">Hi Walter,<br><br>I can't find any code that would implement the 
filter :ascii,<br>but I seem to remember that I saw it in an email.<br>Maybe as 
an proposion?<br><br>Gerd<br><br>
<div>&gt; From: Walter.Schloegl-Resch@aon.at<br>&gt; To: 
mkgmap-dev@lists.mkgmap.org.uk<br>&gt; Date: Sat, 10 Jan 2015 02:08:41 
+0100<br>&gt; Subject: [mkgmap-dev] Solution to show transliterated name if no 
other ascii name exists<br>&gt; <br>&gt; For countries with foreign letters like 
Greece I want to show the int_name <br>&gt; first.<br>&gt; For other countries I 
want to show the int_name in brackets.<br>&gt; If no int_name or other good name 
is found, I want to show the <br>&gt; transliterated name.<br>&gt; <br>&gt; Here 
is my code:<br>&gt; <br>&gt; 'name:de'=* { add mkgmap_int_name='${name:de}' 
}<br>&gt; int_name=* { add mkgmap_int_name='${int_name}' }<br>&gt; 'name:en'=* { 
add mkgmap_int_name='${name:en}' }<br>&gt; 'name:fr'=* { add 
mkgmap_int_name='${name:fr}' }<br>&gt; 'name:es'=* { add 
mkgmap_int_name='${name:es}' }<br>&gt; mkgmap_int_name!=* { add 
mkgmap_int_name='${name|ascii:}' } <br>&gt; # Error: Expecting }, instead saw 
|<br>&gt; mkgmap_int_name=${name} { delete mkgmap_int_name }<br>&gt; <br>&gt; 
place=* { set mkgmap_place_name=no }<br>&gt; place=* &amp; mkgmap_int_name=* 
&amp; mkgmap:country=GRE { set <br>&gt; name='${mkgmap_int_name} (${name})'; set 
mkgmap_place_name=yes }<br>&gt; place=* &amp; mkgmap_int_name=* &amp; 
mkgmap_place_name=no { set name='${name} <br>&gt; (${mkgmap_int_name})'; set 
mkgmap_place_name=yes }<br>&gt; <br>&gt; According to the error message it 
seems, that |ascii: is not recognized.<br>&gt; Is this syntax wrong?<br>&gt; I 
found it via google but not in documentation, maybe it’s not yet 
working.<br>&gt; <br>&gt; I hope somebody has a working solution for my 
usecase.<br>&gt; <br>&gt; Walter <br>&gt; <br>&gt; 
_______________________________________________<br>&gt; mkgmap-dev mailing 
list<br>&gt; mkgmap-dev@lists.mkgmap.org.uk<br>&gt; 
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div></div>

<BR><hr>
_______________________________________________<br>mkgmap-dev mailing 
list<br>mkgmap-dev@lists.mkgmap.org.uk<br>http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div></div></div>
<br>_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div>                                               </div></body>
</html>