Found a solution for character encoding errors in the html file.