diff --git a/src/calibre/gui2/main.py b/src/calibre/gui2/main.py index d820c7bff3..770d2c35fe 100644 --- a/src/calibre/gui2/main.py +++ b/src/calibre/gui2/main.py @@ -1250,9 +1250,10 @@ in which you want to store your books files. Any existing books will be automati ''' MSG = _('is the result of the efforts of many volunteers from all over the world. If you find it useful, please consider donating to support its development.') - HTML = ''' + HTML = u''' + Donate to support calibre @@ -1263,7 +1264,7 @@ in which you want to store your books files. Any existing books will be automati '''%(MSG, BUTTON) pt = PersistentTemporaryFile('_donate.htm') - pt.write(HTML) + pt.write(HTML.encode('utf-8')) pt.close() QDesktopServices.openUrl(QUrl.fromLocalFile(pt.name))