aboutsummaryrefslogtreecommitdiffstats
path: root/parsedjvutext.py
diff options
context:
space:
mode:
Diffstat (limited to 'parsedjvutext.py')
-rw-r--r--parsedjvutext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/parsedjvutext.py b/parsedjvutext.py
index ad98d1d..6bd9950 100644
--- a/parsedjvutext.py
+++ b/parsedjvutext.py
@@ -21,7 +21,7 @@ def parse_page(page, html=False):
else:
coords = [s[i].value for i in xrange(1, 5)]
word = s[5].value
- yield (word, coords)
+ yield (word.decode("utf-8"), coords)
else:
for c in chain.from_iterable(aux(child, html) for child in s[5:]):
yield c