fix issue #4, using unicode(html, 'utf-8','ignore').encode('utf-8')