Re: [Tutor] Html entities, beautiful soup and unicode

2010-01-19 Thread spir
On Tue, 19 Jan 2010 08:49:27 +0100 andy wrote: > Hi people > > I'm using beautiful soup to rip the uk headlines from the uk bbc page. > This works rather well but there is the problem of html entities which > appear in the xml feed. > Is there an elegant/simple way to convert them into the "stan

Re: [Tutor] Html entities, beautiful soup and unicode

2010-01-19 Thread Gerard Flanagan
andy wrote: Hi people I'm using beautiful soup to rip the uk headlines from the uk bbc page. This works rather well but there is the problem of html entities which appear in the xml feed. Is there an elegant/simple way to convert them into the "standard" output? By this I mean £ going to  ? or

[Tutor] Html entities, beautiful soup and unicode

2010-01-19 Thread andy
Hi people I'm using beautiful soup to rip the uk headlines from the uk bbc page. This works rather well but there is the problem of html entities which appear in the xml feed. Is there an elegant/simple way to convert them into the "standard" output? By this I mean £ going to  ? or do i have to u