I have a string where some of the characters appear as unicode, e.g.: "bla bla bla \uf604 bla bla bla"
I tried doing string = string.replace("\uf604", "X")
, but nothing happens. I tried to decode the string to utf-8, but apparently that doesn't work in Python 3.
How can I replace the character?