def formatData(cast):
    """Formats IMDb cast in the following format:
    actor's normalized name, character's full name, actor's full name,
    IMDb.com character page, separated with commas.

    Parameters
    ----------
    cast : `dict`
        IMDB cast with actor normalized names as keys.

    Returns
    -------
    cast : `list`
        List with one string per character.
    """

    textFile = []
    for normCharName, normActorName, charName, actorName, charLink in cast.values():
        text = normCharName + ',' + normActorName + ',' + charName + ',' + \
               actorName + ',' + charLink + '\n'
        text = text.encode('utf-8')
        textWrite = text.decode('utf-8')
        textFile.append(textWrite)

    return textFile