Remove zero width space unicode character from Python string
You can encode it into ascii
and ignore errors:
u'\u200cHealth & Fitness'.encode('ascii', 'ignore')
Output:
'Health & Fitness'
If you have a string that contains Unicode
character, like
s = "Airports Council International \u2013 North America"
then you can try:
newString = (s.encode('ascii', 'ignore')).decode("utf-8")
and the output will be:
Airports Council International North America
Upvote if helps :)