title: What is the fool proof way to convert some string (utf-8 or else) to a simple ASCII string in python
body: <p>Inside my python scrip, I get some string back from a function which I didn't write. The encoding of it varies. I need to convert it to ascii format. Is there some fool-proof way of doing this? I don't mind replacing the non-ascii chars with blanks or something else...</p>