def reencode_list_with_surrogate_escape_sequences(value: List[str]) -> List[str]:
    """
    Function which reencodes each item in the provided list replacing unicode surrogate escape
    sequences using actual unicode values.
    """
    result = []

    for item in value:
        try:
            item = item.encode("ascii", "surrogateescape").decode("utf-8")
        except UnicodeEncodeError:
            # Already a unicode string, nothing to do
            pass

        result.append(item)

    return result

    Function which reencodes each item in the provided list replacing unicode surrogate escape
    sequences using actual unicode values.
    
st2client/st2client/utils/misc.py