Character encoding

i80and i80and at
Tue Nov 7 20:39:47 CET 2006

I would suggest using string.replace.  Simply replace '&nbsp' with ' '
for each time it occurs.  It doesn't take too much code.

On Nov 7, 1:34 pm, "mp" <mailpitc... at> wrote:
> I have html document titles with characters like >,  , and
> &#135. How do I decode a string with these values in Python?
> Thanks

More information about the Python-list mailing list