Saturday, 24 November 2012

Re: Hotlist truncation/corruption

On 22 Nov 2012 as I do recall,
Tony Moore wrote:

> On 22 Nov 2012, Michael Drake <tlsa@netsurf-browser.org> wrote:
> > In article <60245ff252.harriet@blueyonder.co.uk>,
> > Harriet Bazley <lists@orange.wingsandbeaks.org.uk> wrote:
> >
> > > Recently I've been suffering increasingly frequent corruption of my
> > > NetSurf hotlist
> >
> > The hotlist gets truncated when it fails to save one of the entries.
> >
> > Since hotlist load/save was ported from libxml to libdom it has failed
> > to handle HTML entities. So the hotlist will get truncated before the
> > first entry to contain an "unusual" character.
>
> Looking at the Hotlist files posted by Richard Torrens, the entry which
> caused the truncation was (on one line):
>
> <li><a href="http://www.vivastreet.co.uk/east-anglia">
> &#8226;&#8226;&#9655; East Anglia Free ads, East Anglia classifieds,
> East Anglia FREE CLASSIFIED ADS, 450,000+ free classifieds in the
> UK</a></li>
Ah, and the one from the list I reported is

<a href="http://elegantmusings.com/">Casey&#8217;s Elegant Musings</a>

So the problem is caused by adding webpages with UTF characters in the
title to your hotlist (and not editing the default title - which I
normally do, but in this case didn't....)

--
Harriet Bazley == Loyaulte me lie ==

Power tends to corrupt and absolute power corrupts absolutely

No comments:

Post a Comment