Re: Unicode characters, XML/RSS

2008-07-30 Thread Stefan Behnel
Adam W. wrote: > File "C:\Python25\lib\xml\sax\expatreader.py", line 207, in feed > self._parser.Parse(data, isFinal) > File "C:\Users\Adam\Desktop\Rev3 DL\XMLWorkspace.py", line 51, in > characters > self.data.append(string) > UnicodeEncodeError: 'ascii' codec can't encode character u'

Unicode characters, XML/RSS

2008-07-30 Thread Adam W.
So I wrote a little video podcast downloading script that checks a list of RSS feeds and downloads any new videos. Every once in a while it find a character that is out of the 128 range in the feed and my script blows up: Traceback (most recent call last): File "C:\Users\Adam\Desktop\Rev3 DL\Re