I have an error: UnicodeEncodeError: 'UCS-2' codec can't encode characters in position 266-266: Non-BMP character not supported in Tk
I'm parsing the data, and some emoji's falls to array. data = 'this variable contains some emoji'sツ'
I want: data = 'this variable contains some emoji's'
How I can remove these characters from my data or handle this situation in Python 3?