Character encoding

i80and i80and at gmail.com
Tue Nov 7 14:39:47 EST 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 email.com> 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