don\'t know wether this is trivial or not, but I\'d need to convert an unicode string to ascii string, and I wouldn\'t like to have all those escape chars around. I mean, is
b = str(a.encode('utf-8').decode('ascii', 'ignore'))
should work fine.