Comment 3 for bug 963542

Revision history for this message
Alexander Belchenko (bialix) wrote :

OK, the problem seems to be with Qt/PyQt. The code in question is inside qbzr/lib/run.py, method set_cmd_help lines 242-256.
Specifically this line:

self.ui.help_browser.setHtml(
                get_help_topic_as_html("commands/" + cmd_name))

Function get_help_topic_as_html returns as utf-8 encoded html as string, and we pass this string into QTextBrowser object. I suspect Qt expect unicode from us.