@classmethod
def trim_unsupported_chars(cls, string: str) ->str:
    """trim non-font characters"""
    s = string
    for char in ['\x1b', '\\u001b', '\x1b']:
        s = s.replace(char, '')
    return s
