remove non-ascii characters python

35

encoded_string = string_with_nonASCII.encode("ascii", "ignore")

Comments

Submit
0 Comments