Help Replacing Non-ASCII character in Python

Posted by ThinkCode on Stack Overflow See other posts from Stack Overflow or by ThinkCode
Published on 2010-05-27T14:07:34Z Indexed on 2010/05/27 14:11 UTC
Read the original article Hit count: 275

I have a bunch of HTML files I downloaded using HTTPLIB2 package in Python. ' ' are showing as 'Â '.

02/12/2004Â is showing while 02/12/2004  is the desired format.

How do I replace the 'Â ' with ' ' in Python? Thanks a lot!

© Stack Overflow or respective owner

Related posts about python

Related posts about non-ascii-chars