Hi Ticker,

with the 2nd version of the patch the --lower-case option is ignored.
This was probably not intended but I think it really makes no sense to 
implement this.
The img file is much bigger and German names like Hauptstraße is still 
translated to Hauptstrasse,
"Am Düker" still gets "Am Duker", so the displayed names are typically the 
same, at least with
Garmin software.

Attached is my proposed fix if you still think --lower-case should be supported 
with codepage 0

Gerd


________________________________________
Von: mkgmap-dev <[email protected]> im Auftrag von Ticker 
Berkin <[email protected]>
Gesendet: Freitag, 26. November 2021 22:18
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Format6Encoder/Decoder

Hi Gerd

Patch attached that defaults Format6Encoder transliterator to UPPER.
mkgmap unconditionally calls to set required mode but test environment
doesn't.

Ticker

On Fri, 2021-11-26 at 18:40 +0000, Gerd Petermann wrote:
> Hi Ticker,
>
> result looks ok, but unit test CodeFunctionsTest fails. Maybe it was
> intended that codepage 0 ignores the --lower-case option?
>
> Gerd

Attachment: format6-v3.patch
Description: format6-v3.patch

_______________________________________________
mkgmap-dev mailing list
[email protected]
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to