import unicodedata


def deaccent(strng):
    """
    Replace accented characters with their non-accented versions
    """
    return str(unicodedata.normalize('NFD', strng)\
           .encode('ascii', 'ignore')\
           .decode("utf-8"))