remove ;u' from string python 2 code example Example: remove unicode from string python .encode("ascii", "ignore")