compat.py3k flag and appropriate handling of unicode on geocode