I have a string that I got from reading a HTML webpage with bullets that have a symbol like \"•\" because of the bulleted list. Note that the text is an HTML source from a w
Encode string as unicode.
>>> special = u"\u2022" >>> abc = u'ABC•def' >>> abc.replace(special,'X') u'ABCXdef'