My code works fine for English text, but doesn\'t work for for Russian search_text. How can I fix it?
Error text
UnicodeEncodeError: \'latin-1\' c