[PATCH] Check if DLD contains non-ascii characters

Dirk Hohndel dirk at hohndel.org
Tue Apr 9 06:22:03 PDT 2013


On April 9, 2013 6:07:44 AM Miika Turkia <miika.turkia at gmail.com> wrote:
>  On Tue, Apr 9, 2013 at 5:23 PM, Rainer Mohr <mail at divelogs.de> wrote:
>
> >  On 09.04.2013 04:38, Miika Turkia wrote:
> >
> >  OK, now it seems that new dives work well with UTF-8 encoding. I just
> > sent a patch for the upload from Subsurface to also use UTF-8.
> >
> >  The old dives before the UTF-8 update in divelogs.de are still messed
> > up. At least my first dive with combination of latin1 and UTF-8 shows this
> > anomaly. (I deleted and re-uploaded my middle dive to test the UTF-8 upload
> > from Subsurface works.)
> >
> >
> > Did you use the API or the manual DLD Export? The latter was still missing
> > the HTML entities conversion to UTF8.
> > I added that now, so you could try with both.
> >
>
> This was with the manual DLD export. Seems to work now. (I have not tried
> the API for exporting after the change to UTF-8.)
>
>
> > If you have a compiled windows version you could provide to me, I will be
> > very happy to test.
> >
>
> Dirk: any change of compiling Windows binaries with the latest .DLD stuff
> in it?

I'll apply your patches and create a windows installed this morning.

/D




More information about the subsurface mailing list