base_xenforo: Fix for extended chars in threadmark chapter names.

This commit is contained in:
Jim Miller 2017-09-11 15:08:33 -05:00
parent 6beb0bf2d3
commit d9d776e8d2

View file

@ -243,7 +243,7 @@ class BaseXenForoForumAdapter(BaseSiteAdapter):
# convenience method.
def xml_tag_string(dom,tag):
return dom.getElementsByTagName(tag)[0].firstChild.data.encode("utf-8")
return dom.getElementsByTagName(tag)[0].firstChild.data.encode("utf-8").decode('utf-8')
for threadmarksa in threadmarksas:
tmcat_num = threadmarksa['href'].split('category_id=')[1]