Dennis Lee Bieber wrote:
> On 7 Nov 2006 11:34:32 -0800, "mp" <[EMAIL PROTECTED]> declaimed the
> following in comp.lang.python:
>
> > I have html document titles with characters like &gt;, &nbsp;, and
> > &#135. How do I sddecode a string with these values in Python?
> >
>
>       Wouldn't HTMLParser be suited for such activity?
> --
>       Wulfraed        Dennis Lee Bieber               KD6MOG
>       [EMAIL PROTECTED]               [EMAIL PROTECTED]
>               HTTP://wlfraed.home.netcom.com/
>       (Bestiaria Support Staff:               [EMAIL PROTECTED])
>               HTTP://www.bestiaria.com/

Use htmlentitydefs and SGMLParser to re-generate it .

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to