I have a following string:
a = "Executioner’s song. "
I need to encode it to Executioner’s song. .
Executioner’s song.
I tried
a.encode("ascii","ignore")
but it did not help. Can you help, please?