Answer the question
In order to leave comments, you need to log in
How can one extract unicode characters from a string?
Good day. Please tell me how can I extract characters from unicode to UTF8.
Tried through decode - gives an error.
stroka = "d0\x92\xd1\x81\xd0\xb5\xd0\xbc \xd0\xbf\xd1\x80\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x82"
print(stroka.decode("utf8"))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question