def removeUnencodedText(text):
    """
    Remove non UTF-8 characters

    Author: Anna Yannakopoulos (2020)

    Args:
        text (str): Input text

    Returns:
        str: Input text where non UTF-8 character removed
    """
    return "".join([i if ord(i) < 128 else "" for i in text])