Hi Carlos,

no, the index is probably wrong for the other tiles as well. Just the special 
case that causes the exception doesn't occur when e.g. the list of Mdr5 entries 
has more than 256 items.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Carlos 
Dávila <car...@alternativaslibres.org>
Gesendet: Sonntag, 17. Oktober 2021 13:48
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] java.lang.AssertionError while building index from 
unicode tiles

In that case, it seems estrange that only 2 of 67 tiles of China map
cause problems, doesn't it?

El 17/10/21 a las 12:16, Ticker Berkin escribió:
> Hi
>
> It is most likely that this problem is because Chinese requires 2
> UTF16 chars to encode many of its characters - see
>
> https://softwareengineering.stackexchange.com/questions/102205/should-utf-16-be-considered-harmful
> <https://softwareengineering.stackexchange.com/questions/102205/should-utf-16-be-considered-harmful>
>
> I think it is only  --index processing where this is a problem mkgmap.
>
> I'll investigate  more
>
> Ticker
>
>
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to