def str_to_list(s):
    """
    Converts a string into a sequence of bytes.

    This will also handle unicode strings, so sanitise all input.

    :param str s: The string to be converted.
    :return list: A sequence of bytes.
    """
    return list(s.encode('utf-8'))
