look at that:
import urllib
print urllib.urlencode(dict(bla=\'Ã\'))
the output is
bla=%C3%BC
what I want
Have a look at unicode transliteration in python:
from unidecode import unidecode
print unidecode(u"\u5317\u4EB0")
# That prints: Bei Jing
In your case:
bla='Ã'
print unidecode(bla)
'A'
This is a third party library, which can be easily installed via:
$ git clone http://code.zemanta.com/tsolc/git/unidecode
$ cd unidecode
$ python setup.py install