Re: Unicode problem in BeautifulSoup; worked in Python 2.4, fails in Python 2.5.

2007-02-04 Thread Mizipzor
On Feb 4, 11:39 pm, John Nagle <[EMAIL PROTECTED]> wrote: > I'm running a website page through BeautifulSoup. It parses OK > with Python 2.4, but Python 2.5 fails with an exception: > > Traceback (most recent call last): >File "./sitetruth/InfoSitePage.py", line 268, in httpfetch > se

Unicode problem in BeautifulSoup; worked in Python 2.4, fails in Python 2.5.

2007-02-04 Thread John Nagle
I'm running a website page through BeautifulSoup. It parses OK with Python 2.4, but Python 2.5 fails with an exception: Traceback (most recent call last): File "./sitetruth/InfoSitePage.py", line 268, in httpfetch self.pagetree = BeautifulSoup.BeautifulSoup(sitetext) # parse into tree