_mysql_exceptions.Warning: Incorrect string value: '\xF0\x9F\x92\x96 \xF0...' for column 'title' at row 1
s = "This is my string. Über! 0\x9F\x92\x96 \xF0"
How can I remove only this value -> 0\x9F\x92\x96 \xF0
from this string?(or encode this)
EDIT:
>>> s = "So simple google.com"
>>> s
'So simple \xf0\x9f\x98\x81 google.com'
>>> s.decode('utf-8')
u'So simple \U0001f601 google.com'
>>> print s.decode('utf-8')
So simple google.com
>>>