<HTML><HEAD>
<STYLE><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></STYLE>
</HEAD>
<BODY class=hmmessage dir=ltr>
<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='face: "Times' New roman?><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"'
href="http://gis.19327.n5.nabble.com/Command-to-transliterate-Characters-Cyrillic-Greek-into-latin1-even-for-Unicode-maps-td5810132.html">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="font-color: black"><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>
<P>
<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></BODY></HTML>