get rid of the u-prefix in a set in python code example Example: remove unicode from string python .encode("ascii", "ignore")