for every value in data call the function force_text with an argument value, add the results into a set, substitute the resulting set for data_set.
data_set = set ( force_text ( value ) for value in data )