added utf-8 decoding to html.contents

added utf-8 decoding to html.contents to decode tm symbols properly