<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> </div>
<div>here I found a mail from Steve Ratcliffe where this syntax was
working.</div>
<div> <font style=""><font style="FONT-SIZE:12pt;">name:int!=* & 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> </div>
<div>Do you know any other solution how to use the transliterated name?</div>
<div> </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> </div>
<div>Walter</div>
<div style="FONT-SIZE:small;TEXT-DECORATION:none;FONT-FAMILY:"Calibri";FONT-WEIGHT:normal;COLOR:#000000;FONT-STYLE:normal;DISPLAY:inline;">
<div style="FONT:10pt tahoma;">
<div> </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> </div></div>
<div style="FONT-SIZE:small;TEXT-DECORATION:none;FONT-FAMILY:"Calibri";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>> From: Walter.Schloegl-Resch@aon.at<br>> To:
mkgmap-dev@lists.mkgmap.org.uk<br>> Date: Sat, 10 Jan 2015 02:08:41
+0100<br>> Subject: [mkgmap-dev] Solution to show transliterated name if no
other ascii name exists<br>> <br>> For countries with foreign letters like
Greece I want to show the int_name <br>> first.<br>> For other countries I
want to show the int_name in brackets.<br>> If no int_name or other good name
is found, I want to show the <br>> transliterated name.<br>> <br>> Here
is my code:<br>> <br>> 'name:de'=* { add mkgmap_int_name='${name:de}'
}<br>> int_name=* { add mkgmap_int_name='${int_name}' }<br>> 'name:en'=* {
add mkgmap_int_name='${name:en}' }<br>> 'name:fr'=* { add
mkgmap_int_name='${name:fr}' }<br>> 'name:es'=* { add
mkgmap_int_name='${name:es}' }<br>> mkgmap_int_name!=* { add
mkgmap_int_name='${name|ascii:}' } <br>> # Error: Expecting }, instead saw
|<br>> mkgmap_int_name=${name} { delete mkgmap_int_name }<br>> <br>>
place=* { set mkgmap_place_name=no }<br>> place=* & mkgmap_int_name=*
& mkgmap:country=GRE { set <br>> name='${mkgmap_int_name} (${name})'; set
mkgmap_place_name=yes }<br>> place=* & mkgmap_int_name=* &
mkgmap_place_name=no { set name='${name} <br>> (${mkgmap_int_name})'; set
mkgmap_place_name=yes }<br>> <br>> According to the error message it
seems, that |ascii: is not recognized.<br>> Is this syntax wrong?<br>> I
found it via google but not in documentation, maybe it’s not yet
working.<br>> <br>> I hope somebody has a working solution for my
usecase.<br>> <br>> Walter <br>> <br>>
_______________________________________________<br>> mkgmap-dev mailing
list<br>> mkgmap-dev@lists.mkgmap.org.uk<br>>
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>