logo separator

[mkgmap-dev] Option --latin1 not working any more?

From Ben Konrath ben at bagu.org on Thu Feb 5 14:51:45 GMT 2009

Hi Jan-Ole,

On Thu, Feb 5, 2009 at 6:58 AM, Jan-Ole Spahn <Jampl at gmx.de> wrote:
<snip>
> In the version route-r806 the option --latin1 worked to get german
> Umlauts displayed correctly (Using nocodepage option for osm2mp).
>
> Now i tried r858 and r861, and runnig with same options the unlauts will
> be displayed as ??, on Garmin oregon and QLandkarte.
>
> This was pretty working for umlauts:
> #java -Xmx512M -enableassertions -jar mkgmap-route-r806/mkgmap.jar
> --latin1 --route --gmapsupp map1.mp
>
> This produces ?? instead of umlauts:
> java -Xmx512M -enableassertions -jar mkgmap-r861/mkgmap.jar --latin1
> --route --gmapsupp map1.mp

I had the same problem except with Spanish accents when I switched
from using the route branch to truck. It seems that some code was
added to the PolishMapDataSource class which assumes the characters
are iso-8859-1. To fix it I changed '--codepage' to '--codepage 1252'
in my call to osm2mp.pl. If I understand things correctly, this should
work for you as well.

Cheers, Ben



More information about the mkgmap-dev mailing list