PDA

View Full Version : Pausing RSS Scroller - Character Encoding Problem



MisterM
05-22-2006, 02:51 PM
Pausing RSS Scroller
http://www.dynamicdrive.com/dynamicindex17/rsspausescroller/index.htm

Hello There

I'm using the above script on a site to display an RSS feed from a related local news site - however it is displaying some characters incorrectly, such as pound signs, quote marks etc. The page in question is at:

http://www.norfolk-careers.co.uk/LMI/index.asp

And to save you waiting for an item including special characters to scroll around, below is an example....

"“radical” reorganisation by Royal Mail, it was claimed. The company, which announced annual losses of £111m"

Any help gratefully received, I have a feeling it's something to do with encoding, though I've tried to set everything as UTF-8.

Twey
05-22-2006, 03:15 PM
You shouldn't be using characters such as " or £ in (X)HTML or XML anyway. They should be encoded as " or £, for example.

nelsontimken
05-22-2006, 03:32 PM
I cannot even get that RSS script to work on my site- I keep getting some error that the feed cannot be reached.

Can you please tell me how you set this up and the URLs you used to help your server locate the rsspausescroller and php files, and whether you had to change any protection settings on the cache folder?

Your help would be greatly appreciated! Thanks.

Nelson

Twey
05-22-2006, 03:48 PM
You must have a script called LastRSS installed and correctly configured on your site.
I don't know anything about it, don't look at me. :)

MisterM
05-23-2006, 01:06 PM
Re: the first comment I'm just displaying a feed from a local news site, so I have no control over whether they use " or £ - their feed address is http://new.edp24.co.uk/content/rss/default.aspx?id=edpBusiness .

Also, if one views their feed in an alternative RSS viewer, for example IE7, all of the characters display properly.

Thanks