<div dir="ltr"><div><div><div><div><div><div><br></div>As far as I know - sorting and index mechanisms are fine :). Problem is somewhat related to user experience:<br><br></div>User knows that his map is transliterated and all city/street names should be entered transliterated. So he enters city Gorczyn (instead of Górczyn). But letter ó is not transliterated as it is a part of CP1252 and index contains text "Górczyn". In that way - such city can not be found. This is caused by situation that all diacritical polish letters are in CP1250 but this one particular letter ó is common between CP1252 and CP1250 ;). This would be easily overcome if I could specify my own (patched) transliteration table. <br>
<br></div>Maybe it would be possible to add a command line parameter, like:<br><br></div>--transliteration-patch=original_char,replacement_char <br><br></div><div><br></div>This parameter would solve also any potential problems in the future - as slavic languages can be very problematic.<br>
<br></div>best regards<br><br>Michal Rogala<br><div><div><div><br><br><div><div><div><br></div></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-23 12:05 GMT+02:00 Steve Ratcliffe <span dir="ltr"><<a href="mailto:steve@parabola.me.uk" target="_blank">steve@parabola.me.uk</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 22/07/14 10:47, Michał Rogala wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Well, this is an odd case :). Indeed, this letter is part of cp1252 -<br>
but in case of Polish language, all other diacritical letters (outside<br>
cp1252 charset) are transliterated except this one. This results in<br>
situation when user enters city/street name with transliterated<br>
characters, but index contains non-transliterated letter ó - and the<br>
search fails.<br>
</blockquote>
<br></div>
OK I see, but it should just work since r3076.<br>
<br>
Previously there were problems because sorting was done before<br>
transliteration in one of the sections and so it was badly sorted<br>
after transliteration.<br>
<br>
There may be still a problem there.<br>
<br>
So is this correct:<br>
<br>
- You are making a map of Poland;<br>
- with --code-page=1252;<br>
- using a recent version of mkgmap?<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
..Steve<br>
______________________________<u></u>_________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/<u></u>mailman/listinfo/mkgmap-dev</a></div></div></blockquote></div><br></div>