diff options
Diffstat (limited to 'app-text/calibre/files/bug_270746_UnicodeEncodeError.patch')
-rw-r--r-- | app-text/calibre/files/bug_270746_UnicodeEncodeError.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app-text/calibre/files/bug_270746_UnicodeEncodeError.patch b/app-text/calibre/files/bug_270746_UnicodeEncodeError.patch new file mode 100644 index 000000000000..d5302fd252fc --- /dev/null +++ b/app-text/calibre/files/bug_270746_UnicodeEncodeError.patch @@ -0,0 +1,10 @@ +--- src/calibre/utils/help2man.py ++++ src/calibre/utils/help2man.py +@@ -54,6 +54,6 @@ + 'http://calibre.kovidgoyal.net/user_manual', + '.PP', '.B Created by '+__author__] + +- return bz2.compress('\n'.join(lines)) ++ return bz2.compress(u'\n'.join(lines).encode('utf_8')) + + |