def unistring(s):
    """Encodes our Unicode string to ASCII, then back to Unicode.
    In the translation, we ignore all unknown characters, which removes
    all of the non-ASCII characters that break our string parsing.
    """
    return str(s).encode("ascii", "ignore").decode()