rss script error
Up to Scripts
Hi,
I've installed the rss parser script which works with the BBC webite but when I try to read a French website I get this kind of error:
UnicodeEncodeError: 'ascii' coded can't encode character u'\xe9' in position 24: ordinal not in range (128).
I suspect it has something to do with Frech accents not being recognized.
What can i do to solve the problem?
Thanks Michael
You can try adding this line at the very begining of the script :
# -*- coding: utf-8 -*-
I'm not sure it will solve you're problem it's worth trying.
For example for the rss sites listed on this web page
http://www.lemonde.fr/web/rss/0,48-0,1-0,0.html
Thanks for your help.
Powered by
Ploneboard