'ascii' codec can't decode byte

23 views
Skip to first unread message

monk.e.boy

unread,
May 19, 2008, 12:18:20 PM5/19/08
to beautifulsoup
Hi,

I am using 3.0.4 and every now and then I'll get:

'ascii' codec can't decode byte 0xe9 in position 0: ordinal not in
range(128)
Traceback (most recent call last):
soup = BeautifulSoup(html) #,fromEncoding='utf-8')
BeautifulStoneSoup.__init__(self, *args, **kwargs)
self._feed()
SGMLParser.feed(self, markup)
self.goahead(0)
k = self.parse_starttag(i)

Is anyone else getting this error?

monk.e.boy

Wolf

unread,
May 19, 2008, 12:42:28 PM5/19/08
to beautifulsoup
I had the same problem but BS 3.0.6 fixed it

John Glazebrook

unread,
May 20, 2008, 5:05:11 AM5/20/08
to beauti...@googlegroups.com
>> I had the same problem but BS 3.0.6 fixed it

Thanks, I'll give it a go :-)

John

Reply all
Reply to author
Forward
0 new messages