Fix error in textToENML, BeautifulSoup not parsing unicode strings

When there are non ascii characters in edit command, it throws:

     Error while parsing text to html. Content must be an UTF-8 encode.