def rm_non_ascii(s):
    """
    remove any non ascii characters
    """
    if not isinstance(s, str):
        return s
    s = s.strip()
    s = ''.join(filter(lambda x: ord(x)<128, s))
    return str(s)