fixing UnicodeEncodeError when searching, close #11941

in order to test type 'tętnica' the word from the qa feedback.