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:
>
>      &amp;#150; (symbol as it appears in the original xml file)
>      &#150;          (symbol as it appears in ipython shell after
> using Universal Feed Parser)
> <snip>


I've never played around much, but &amp; is the HTML code for an &.

So if you have <html><body>&amp;#150</body></html> it will show up as &#150.

I have no clue if the latter is any type of special character or something,
though.

Upon searching for &#150 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

Reply via email to