human
How to replace unicode characters in string with something else python?
assistant
Here is some code to replace unicode character '\u2022' in string 'str' with '*'

str.decode('utf-8').replace('\u2022', '*').encode('utf-8')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.