logo separator

[mkgmap-dev] r4836 stops Hungary & Romania

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Thu Dec 30 13:53:08 GMT 2021

Hi Gerd

Patch attached that handles UTF16 surrogate pairs so that mkgmap style
filters substring and highway-shield give correct results, the LBL
trimming leaves the correct amount and neither end up with 1/2 a
character.

I've looked through all the substring operations and I don't think any
others will cause problems. There might just be a few str.length() and
str.charAt() or other indexing that might need attention but this would
require a lot more searching. I've left the handling for
MALFORMED_INPUT so these shouldn't matter.

Ticker

On Wed, 2021-12-29 at 09:16 +0000, Ticker Berkin wrote:
> Hi Gerd
> 
> I'll look at this sometime. I while ago I found something in one of
> the
> MDR sections (probably the short strings) that handled something like
> this.
> 
> Ticker
> 
> 
> On Tue, 2021-12-28 at 13:22 +0000, Gerd Petermann wrote:
> > Hi Ticker,
> > 
> > okay, maybe you find time to implement a better solution.
> > I've committed the patch with r4838.
> > 
> > @Arndt: Please check if this solves the problems with your maps.
> > Not sure about this because you said mkgmap stops without any
> > reaction
> > while this problem was a loop.
> > 
> > Gerd
> 
> 
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: surrogatePair.patch
Type: text/x-patch
Size: 3874 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20211230/b34a0b11/attachment.bin>


More information about the mkgmap-dev mailing list