sgmllib problem & proposed fix.
C. Titus Brown
titus at caltech.edu
Fri Dec 17 03:31:49 EST 2004
Whoops! Forgot an executable example ;).
Attached, and also available at
http://issola.caltech.edu/~t/transfer/test-enc.py
http://issola.caltech.edu/~t/transfer/test-enc.html
Run 'python test-enc.py test-enc.html' and note that
htmllib.HTMLParser-based parsers give different output than
HTMLParser.HTMLParser-based parsers.
cheers,
--titus
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test-enc.py
URL: <http://mail.python.org/pipermail/python-list/attachments/20041217/784c1d5c/attachment.ksh>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20041217/784c1d5c/attachment.html>
More information about the Python-list
mailing list