Permalink
Browse files

Fixed unicode bug

  • Loading branch information...
1 parent 6987ff0 commit 8d59ee455b73a28161d77a0be2f49fc57121888e @migurski migurski committed Apr 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 decoder/compose2.py
View
@@ -521,7 +521,7 @@ def main(apibase, password, print_id, pages, paper_size, orientation, layout):
mark = page.get('mark', None) or None
fuzzy = page.get('fuzzy', None) or None
- text = str(page.get('text', None) or '')
+ text = unicode(page.get('text', None) or '').encode('utf8')
role = page.get('role', None) or None
north, west, south, east = page['bounds']

0 comments on commit 8d59ee4

Please sign in to comment.