On Wed, Jun 17, 2009 at 7:30 AM, Serdar Tumgoren <[email protected]>wrote:
> <snip>Here are some examples of the encoded characters I'm trying to > convert: > > &#150; (symbol as it appears in the original xml file) > – (symbol as it appears in ipython shell after > using Universal Feed Parser) > <snip> I've never played around much, but & is the HTML code for an &. So if you have <html><body>&#150</body></html> it will show up as –. I have no clue if the latter is any type of special character or something, though. Upon searching for – in google, I came up with this: http://www.siber-sonic.com/mac/charsetstuff/Soniccharset.html HTH, Wayne
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
