 <p>If you want to remove all Unicode characters from a string, you can use <code>string.encode("ascii", "ignore")</code>.</p> <p>It tries to encode the string to ASCII, and the second parameter <code>ignore</code> tells it to ignore characters that it can't convert (all Unicode chars) instead of throwing an exception as it would normally do without that second parameter, so it returns a string with only the chars that could successfully be converted, thus removing all Unicode characters.</p> <p>Example usage :</p> <pre><code>unicodeString = "Héllò StàckOvèrflow" print(unicodeString.encode("ascii", "ignore")) # prints 'Hll StckOvrflow' </code></pre> <p>More info : <a href="https://docs.python.org/3/library/stdtypes.html#str.encode" rel="nofollow"><code>str.encode()</code></a> and <a href="https://docs.python.org/3/howto/unicode.html" rel="nofollow">Unicode</a> in the Python documentation.</p>