I want to assign a character string to a variable, but it says
: there isn't a "code to show.
I have a string that I want to assign to a variable
d="stunning:/ËstÊnɪÅ/" Unsupported characters in input
or
word="stuning:/ˈstraɪkɪŋ/" Unsupported characters in input
therefore, basically the interpreter does not allow me to assign it to a variable, so I can not code it.
How can I extract, remove these characters from text, or do something, so python will support this type of input.
I tried to convert it to other formats like ansi, utf, etc., but without success.
PS: I am using python 2.7
source share