Added a utf8 encoding if the regular encoding failed because of unicode (pure evil) in the text