def filter_for_ascii(text, placeholder='_'):
    """Some unicode characters are used in the eCalendar, and some command line consoles don't like this, so this script replaces characters that give Exceptions
    placeholder is '_' by default """
    result = ''
    for letter in text:
        try:
            result += str(letter)
        except Exception:
            result += placeholder
    return result
